Saved views
Reorder a table's views
ids in the order you want them.
POST/v1/tables/{tableId}/views/reorder
An id that is not one of yours is ignored.
Requires the records:write scope. Operation views.reorder. MCP tool views_reorder. CLI, once published: gtable views reorder.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
tableId | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | no | Any unique string. Sending the same key with the same request again returns the first response (marked Idempotency-Replayed: true) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
ids | string[] | yes | 1 to 200 items. |
Response
Success
dataobjectrequiredRefused
errorobjectrequired