Deprecate a policy
POST/v1/policies/:id/deprecate
No new plan may name it. Plans already under it keep running.
Operator only: needs a system-scoped token.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- default
OK
Unauthorized.
unauthenticated: The token is missing, expired or not valid.
Forbidden.
forbidden: The token lacks the policy:write permission.
Not Found.
not_found: The id is not a UUID, or no policy has it.
Conflict.
conflict: The policy is retired.
An error, as an RFC 7807 problem document.