PolicyVersion / Action / delete

delete#

IAM.PolicyVersion.delete()#

Deletes the specified version from the specified managed policy.

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

For information about versions for managed policies, see Versioning for managed policies in the IAM User Guide.

See also: AWS API Documentation

Request Syntax

response = policy_version.delete()
Returns:

None