Delete a protection group
DELETE/v1/protection-groups/:id
Deletes the group, not its servers. Refused with group_busy while a run acts on it. Its runs and journals go too, while the run resources stay until they are deleted. Deleting a recovery, operator only, deletes the bindings it created. A recovery still holding servers, volumes, ports or floating addresses its runs built is refused with group_holds_resources unless keep_resources=true.
Any member of the project the token is scoped to.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- default
No Content
Bad Request.
invalid_request: A query parameter is malformed.
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token may not change groups in the group's project, or the group is a recovery and the token is not a system-scoped admin token.
Not Found.
not_found: No group with this id exists in the token's project.
Conflict.
group_busy: A run is acting on the group, with active_run_id set or a running operation's state.
group_holds_resources: The group is a recovery, and servers, volumes, ports or floating addresses its runs built and kept are still held, and keep_resources is not true. fields names each as resources.<id>, and detail says whether to clean up or fail back first.
An error, as an RFC 7807 problem document.