Delete a test policy
DELETE/v1/bubble-policies/:id
Removes a test policy no registration names and no test ran under. A run keeps naming the policy it ran under, so a policy any test ran under is kept; point registrations at another policy to stop using it.
Operator only: needs a system-scoped token.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- default
No Content
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token is not a system-scoped admin token.
Not Found.
not_found: No test policy with this id exists.
Conflict.
bubble_policy_in_use: A protection group's registration names the policy, or a test ran under it.
An error, as an RFC 7807 problem document.