Amazon Simple Queue Service
API Reference (API Version 2012-11-05)


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


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

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


The identification of the permission to remove. This is the label added using the AddPermission action.

Type: String

Required: Yes


The URL of the Amazon SQS queue from which permissions are removed.

Queue URLs are case-sensitive.

Type: String

Required: Yes


For information about the errors that are common to all actions, see Common Errors.


The following example query request removes the testLabel permission from the queue named testQueue. How you structure the AUTHPARAMS depends on how you are signing your API request. For information about AUTHPARAMS in Signature Version 4, see Examples of Signed Signature Version 4 Requests in the Amazon Web Services General Reference.

Sample Request ?Action=RemovePermission &Label=testLabel &Version=2012-11-05 &Expires=2020-04-18T22%3A52%3A43PST &AUTHPARAMS

Sample Response

<RemovePermissionResponse> <ResponseMetadata> <RequestId> f8bdb362-6616-42c0-977a-ce9a8bcce3bb </RequestId> </ResponseMetadata> </RemovePermissionResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: