Remove a policy version

Deletes a version of a shared policy. You can't delete a policy if it's active on the staging or production network. When you remove a policy version, version numbers aren't reallocated. For example, a policy has 15 versions, and you delete versions 14 and 15. The next version created would be 16, not 14.

Path Params
integer
required

The number of the version.

integer
required

Identifies the shared policy.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Responses
204

The policy version is deleted.

Language
URL
LoadingLoading…
Response
Choose an example:
application/problem+json