Method for deleting a queue. If the specified queue does not exist, Message Queue returns a successful response.

The deletion process takes up to 60 seconds. During this time, some requests might succeed (such as sending messages to that queue), but after 60 seconds the queue and the messages will no longer exist.


After the queue is deleted, all messages in it become unavailable.

When you delete a queue, you must wait at least 60 seconds before creating another queue with the same name.


Request parameters

Parameter Type Required parameter Description
QueueUrl string Yes URL of a queue. Case-sensitive.


Successful response fields

The response does not contain any fields.

DeleteQueue errors

The method does not return any specific errors. For a list of errors common for all methods, see Common errors.

Sample request


For more information about forming requests, see General API request format.

Response example