Roll back service record
POST/service/by-name/:serviceName/records/:id/rollback
Move a record back to an explicit earlier stage. targetStatus must be a stage with an edge into the current one (400 INVALID_ROLLBACK_TARGET with validTargets otherwise). Open task lists for the service are removed in the same step. No automations run.
Scope: service_records:write
Request
Responses
- 200
- 400
- 403
- 404
- 409
Rolled back
INVALID_ROLLBACK_TARGET or VALIDATION_ERROR
READ_ONLY — the caller may not act in this stage
Record not found
STALE_STAGE — the record moved concurrently