Create a new external data source with custom label and color
Authentication: required
Required API Scope: Instance Workspace: Create
curl --request POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/datasource \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "<string>",
"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 POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/datasource \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "<string>",
"color": "#ebc346"
}
'{
"color": "#008000",
"label": "live"
}