Roll Back Accounts
POST/account/rollback
Moves accounts matching the filter back to the most recent rollback target stage in their history, or to the workflow's default rollback stage. Accounts already in a target or protected stage are skipped. Only the stage changes, and rolled back stages earn no new credit. Set dryRun to preview how many accounts would roll back to each stage, use the default stage, or be skipped, without changing anything. Rollback must be enabled on the workflow, the filter must include an area, team, or user, and the caller must hold one of the workflow's rollback roles on the teams that own the accounts. Only accounts the caller can list under account:list are selected, in both the preview and the run. Use /account/bulk with updateStage instead to move accounts to a specific stage.
Request
Responses
- 200
- default
- 4XX
Success
Error
Unauthorized