This article shows how to delete an existing ActiveMQ topic using the REST API.
Delete ActiveMQ Topic
DELETE /activemq/topics/{nodeName}/{managerName}/{brokerName}/{topicName}
Deletes an ActiveMQ topic.
Example Request
curl -X 'DELETE' \ 'http://<hostname>:8019/rest/v1/activemq/topics/CMACTIVEMQ/Activemq-server/DemoBroker/SampleTopic' \ -H 'accept: */*' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
|---|---|---|
jobDate |
integer | Schedule job date (Unix timestamp). |
jobTags |
string | A comma-separated list of job tags (used only with jobDate). |
validateAccessForUser |
string | Validate endpoint access for the user. |
waitForRead |
boolean | Wait for cache update. |
Request Body
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Activemq-server",
"brokerName": "DemoBroker",
"topicName": "Sample_Topic111"
}Response Codes
204 No Content – Object deleted successfully.
304 Not Modified – Object not changed.
* – Error response.
Response Header
204 No Content – Object deleted successfully.
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019 date: Fri,26 Sep 2025 15:03:14 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