Removes the specified managed policy from the specified role.
A role can also have inline policies embedded with it. To delete an inline policy, use DeleteRolePolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide.
post/#Action=DetachRolePolicy
Query parameters
Action'DetachRolePolicy' required
Version'2010-05-08' required
Response
Success