Undo a change
Undo a bundle by replaying its operations backwards through the standard write permission compiler; undoing a delete recreates the row only if you have permission to create it.
POST/v1/changesets/{changesetId}/revert
Restore only fields changed by an update, preserving colleagues’ edits to other fields. If anyone changed a field being restored, refuse and identify who; send confirm: true to overwrite their changes. Only bundles of record creates, edits, and deletes are undoable; the changesets list marks each as revertible. Refuse other bundles (comments, saved views, pages, or app-shape changes) up front with the reason, without partially applying them. Undo all restorable rows in ONE transaction; list rows deleted since in skipped without failing the rest.
Requires the records:write scope. Operation changesets.undo. MCP tool changesets_undo. CLI: grid82 changesets undo (npx grid82).
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
changesetId | 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 |
|---|---|---|---|
confirm | boolean | no |
Response
Success
dataobjectrequiredRefused
errorobjectrequired