Sets the specified version of the specified policy as the policy's default (operative) version.
This operation affects all users, groups, and roles that the policy is attached to. To list the users, groups, and roles that the policy is attached to, use ListEntitiesForPolicy.
For information about managed policies, see Managed policies and inline policies in the IAM User Guide.
post/#Action=SetDefaultPolicyVersion
Query parameters
Action'SetDefaultPolicyVersion' required
Version'2010-05-08' required
Response
Success