Rename a column in a table’s schema
Authentication: required
Required API Scope: Workspace Database: Update
curl --request POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/table/{table_id}/schema/rename \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"new_name": "new_field",
"old_name": "old_field"
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success!
The response is of type object.
Was this page helpful?
curl --request POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/table/{table_id}/schema/rename \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"new_name": "new_field",
"old_name": "old_field"
}
'{}