v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143164631.2 MB

Deletes the specified inline policy that is embedded in the specified IAM role.

A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about policies, refer to Managed policies and inline policies in the IAM User Guide.

post/#Action=DeleteRolePolicy

Query parameters

Action'DeleteRolePolicy' required
Version'2010-05-08' required

Response

Success