Cancel a disaster recovery run
POST/v1/protection-groups/:id/runs/:run_id/cancel
Asks the run to stop. It is honoured at the run's next step, or at once if the run is waiting: the run removes what it created, returns the group to the state it was in, and ends cancelled. A run past its point of no return cannot be cancelled. Asking twice changes nothing.
Any member of the project the token is scoped to.
Request
Responses
- 202
- 401
- 403
- 404
- 409
- default
Accepted
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token may not cancel runs of this group.
Not Found.
not_found: No group with this id exists in the token's project. Or the group has no run with this id.
Conflict.
past_point_of_no_return: The run passed its point of no return, or halted after it.
conflict: The run has already ended.
An error, as an RFC 7807 problem document.