Update an existing data source’s label and color properties
Authentication: required
Required API Scope: Instance Workspace: Update
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"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?
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"
}