Update an existing branch’s label, description, or color.
Authentication: required
Required API Scope: Instance Workspace: Update
curl --request PUT \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/branch/{branch_label} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "updated-branch",
"description": "Updated description",
"color": "#ff5733"
}
'{
"created_at": "2023-06-22 22:59:11+0000",
"label": "v1",
"live": true,
"backup": "false"
}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}/branch/{branch_label} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"label": "updated-branch",
"description": "Updated description",
"color": "#ff5733"
}
'{
"created_at": "2023-06-22 22:59:11+0000",
"label": "v1",
"live": true,
"backup": "false"
}