[rabbitmq-discuss] Deleting a queue using HTTP API

Robert Gilland rgilland1966 at gmail.com
Mon Nov 26 01:31:42 GMT 2012


According to the web page

http://hg.rabbitmq.com/rabbitmq-management/raw-file/rabbitmq_v3_0_0/priv/www/api/index.html

you can delete queues usint HTTPAPI

c:\util\curl.exe -i -u guest:guest -H "content-type:application/json"
-XDELETE http://localhost:55672/api/queues/TESTQUEUE

however when running the Below API.

I get the below, which seems to mean deleting of a queue is not
available. Is this true? Using 2.8.2

C:\V2\temp>c:\util\curl.exe -i -u guest:guest -H "content-
type:application/json"
  -XDELETE http://localhost:55672/api/queues/TESTQUEUE
HTTP/1.1 405 Method Not Allowed
Server: MochiWeb/1.1 WebMachine/1.7 (participate in the frantic)
Date: Mon, 26 Nov 2012 01:14:57 GMT
Content-Length: 0
Allow: GET, HEAD


More information about the rabbitmq-discuss mailing list