Update Table
Rename a table, move it to another database in the same workspace, or both. Provide at least one of `name` or `databaseId`. Requires write access; a scoped API key needs `update` on the table.
/api/v1/tables/{tableId}Authorization
apiKey Your SteelEngine API key (personal, workspace, or organization). Create personal and workspace keys under Settings > API Keys. Create organization keys under Organization Settings > API Keys.
In: header
Path Parameters
The unique identifier of the table.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/tables/string" \ -H "Content-Type: application/json" \ -d '{ "workspaceId": "string" }'{ "success": true, "data": { "table": { "id": "tbl_abc123", "name": "customers_v2", "databaseId": "db_abc123" } }}