Skip to main content
POST
/
workspace
/
{workspace_id}
/
datasource
Create a new external data source with custom label and color
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"
}

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

Body

label
string
required
color
string
default:#ebc346

Response

Success!

color
string
default:#008000
label
string
default:live