Skip to main content
PUT
/
workspace
/
{workspace_id}
/
datasource
/
{label}
Update an existing data source's label and color properties
curl --request PUT \
  --url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/datasource/{label} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "color": "#ebc346"
}
'
{
  "color": "#008000",
  "label": "live"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
integer<int64>
required
label
string
required

Body

color
string
default:#ebc346

Response

Success!

color
string
default:#008000
label
string
default:live