Put a deleted table or field back
Restore tables with rows and links, fields with values, converted columns with previous values, and their grants, using the same IDs.
POST/v1/apps/{appId}/trash/{trashId}/restore
Records created since keep their values. Restore values only to existing records and links only when both records exist. Refused if an ID is now in use; restore the table before its fields.
Requires the schema:write scope. Operation trash.restore. MCP tool trash_restore. CLI: grid82 trash restore (npx grid82).
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
appId | string | yes | |
trashId | 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. |
Response
Success
dataobjectrequiredRefused
errorobjectrequired