v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1430232150.8 KB

Deletes a resource policy from the target Amazon Web Services account.

post/DeleteResourcePolicy

Request body

PolicyNamestring required

The name of the resource policy to delete.

PolicyRevisionIdstring

Specifies a specific policy revision to delete. Provide a <code>PolicyRevisionId</code> to ensure an atomic delete operation. If the provided revision id does not match the latest policy revision id, an <code>InvalidPolicyRevisionIdException</code> exception is returned.

Response

Success

DeleteResourcePolicyResult required