v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.

Requires permission to access the DeletePolicyVersion action.

delete/policies/{policyName}/version/{policyVersionId}

Path parameters

policyNamestring required

The name of the policy.

policyVersionIdstring required

The policy version ID.

Response

Success