Skip to main content
Version: Next

Undo the last change to a canvas draft

POST 

/api/v1/canvas/draft/undo

Takes the operations of the most recent request off the draft and rebuilds it from the rest, one request at a time. A request that changed only a widget's props is a step like any other. Does nothing when there is nothing to undo. Rejected with 409 if the draft moved on, or if the canvas has changed since the draft started, which a rebuild cannot replay against.

Request​

Responses​

The draft after the step, as the definition response