v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-144090233.6 KB

Revokes any permissions in the queue policy that matches the specified Label parameter.

  • Only the owner of a queue can remove permissions from it.

  • Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a user name in the Amazon SQS Developer Guide.

  • To remove the ability to change queue permissions, you must deny permission to the AddPermission, RemovePermission, and SetQueueAttributes actions in your IAM policy.

get/{AccountNumber}/{QueueName}/#Action=RemovePermission

Path parameters

AccountNumberinteger required

The AWS account number

QueueNamestring required

The name of the queue

Query parameters

Labelstring required

The identification of the permission to remove. This is the label added using the <code> <a>AddPermission</a> </code> action.

Action'RemovePermission' required
Version'2012-11-05' required

Response

Success