This article shows how to delete an ActiveMQ queue using the REST API.
Delete ActiveMQ Queue
DELETE /activemq/queues/{nodeName}/{managerName}/{brokerName}/{queueName}
Deletes an ActiveMQ queue.
Example Request
curl -X 'DELETE' \ 'http://<hostname>:8019/rest/v1/activemq/queues/CMACTIVEMQ/Activemq-server/DemoBroker/ABC' \ -H 'accept: */*' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
jobDate(int64) – Schedule job date (Unix Timestamp).jobTags(string) – Job tags (used only with jobDate).validateAccessForUser(string) – Validate access for user.waitForRead(boolean) – Wait for cache update.
Response Codes
204– Object deleted.304– Object not changed.*– Error response.
Response Headers
Code: 204 (Object Deleted)
access-control-allow-credentials: true
access-control-allow-origin: http://<hostname>:8019
date: Wed,24 Sep 2025 09:58:55 GMT
server: Jetty(10.0.22)
vary: Origin