This article shows how to remove a specific message group from an ActiveMQ queue using the REST API.
Remove Message Group
DELETE /activemq/queues/{nodeName}/{managerName}/{brokerName}/{queueName}/message-groups/{groupName}
Remove a specific message group.
Example Request
curl -X 'DELETE' \ 'http://<hostname>:8019/rest/v1/activemq/queues/CMACTIVEMQ/Activemq-server/DemoBroker/sample711/message-groups/OrderGroup-1' \ -H 'accept: */*' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Path Parameters
nodeName(string, required) – The node name.managerName(string, required) – The manager name.brokerName(string, required) – The ActiveMQ broker name.queueName(string, required) – The ActiveMQ queue name.groupName(string, required) – The ActiveMQ group name.
Query Parameters
jobDate(int64) – Schedule job date (Unix Timestamp).jobTags(string) – Job tags (used only with jobDate).validateAccessForUser(string) – Validate access for user.
Response Codes
204– Object Deleted.304– Object not changed.*– Error response.
Response Header
204 – Object Deleted.
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019 date: Thu, 25 Sep 2025 08:25:42 GMT server: Jetty(10.0.22) vary: Origin
Reference Articles
Using the REST API using the Navigator demo system
Performing REST API operations using the Swagger UI