Skip to main content
Changes

Undo a change

Reverses a change made through an AI app or API key, using its id. It works only while the item is still exactly as the change left it, so newer edits are never overwritten. Drafts, tasks, approvals and anything sent can't be undone. Undoing a change to an automation needs a key with automations. Needs the key's creator to hold the permission the change needed. Needs a key with the sparrow.write scope.

POST
/changes/{id}/undo
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

idstringrequired

The change id.

Response

application/json

Success

dataany
metaobject