Delete Queue

 

Updated: May 13, 2015

Deletes an existing queue. This operation also removes all associated state, including messages in the queue.

Method

Request URI

HTTP Version

DELETE

https://{serviceNamespace}.servicebus.windows.net/{Queue Path}

HTTP/1.1

The following table describes required and optional request headers.

Request Header

Description

Authorization

Specifies a WRAPv0.9.7.2 token containing a SimpleWebToken acquired from ACS. Set to WRAP access_token=”{swt}”.

The response includes an HTTP status code and a set of response headers.

Code

Description

201

Queue deleted.

401

Authorization failure.

404

The specified queue does not exist.

500

Internal error.

For information about status codes, see Status and Error Codes.

Show: