Skip to main content
Clear a failure. The revision’s status moves from failed back to ready; phase is deliberately left untouched, which is what returns a failed commit and a failed delete alike to the state each can be worked on from — a failed commit resets to draft / ready (commit it again), and a failed delete resets to commit / ready (delete it again).

POST /revisions/:id/reset

Requires Write access to the revision’s blob. Allowed on any revision whose status is failed, whatever its phase.

Path Parameters

Response

Returns {"status": "success"} — no body beyond the status. Clearing status also clears failed_operation in the same write, so a reset revision never carries a stale cause.

Errors

Example

See also

  • Delete Revisionfailed_operation’s three values, and what each offers besides Reset.