This page documents the canonical HTTP contract for this endpoint.
Use this endpoint when you want to move an existing column relative to its neighbors. Unlike create/projection endpoints, the request body here uses snake_case keys: after_column_id and before_column_id.
Both anchors are optional. Supply one to place before or after that column, or both to place between them. If neither is supplied, the legacy path leaves the position unchanged. The response contains success and position; it does not include the moved column ID.
Path parameters
table_idrequiredstring
Target table ID.
column_idrequiredstring
Target column ID.
| Name | Type | Description |
|---|---|---|
| table_idrequired | string | Target table ID. |
| column_idrequired | string | Target column ID. |
Body parameters
after_column_id· optionalstring
Optional insertion anchor. Place the column after this column. Uses snake_case on this endpoint.
before_column_id· optionalstring
Optional insertion anchor. Place the column before this column. Uses snake_case on this endpoint.
| Name | Type | Description |
|---|---|---|
| after_column_id | string | Optional insertion anchor. Place the column after this column. Uses snake_case on this endpoint. |
| before_column_id | string | Optional insertion anchor. Place the column before this column. Uses snake_case on this endpoint. |
Errors
| Status | Meaning |
|---|---|
| 401 | Invalid API key or missing auth. |
| 403 | Missing columns:write scope or table access denied. |
| 404 | Column, table, or neighbor anchor not found. |
| 422 | The reorder body does not match its request model. |
