This article shows how to change the details of an existing ActiveMQ topic using the REST API.
Change ActiveMQ Topic
PATCH /activemq/topics/{nodeName}/{managerName}/{brokerName}/{topicName}
Updates the configuration of an existing ActiveMQ topic.
Example Request
curl -X 'PATCH' \
'http://<hostname>:8019/rest/v1/activemq/topics/CMACTIVEMQ/Activemq-server/DemoBroker/SampleTopic' \
-H 'accept: */*' \
-H 'Authorization: Basic QWRtaW46YWRtaW4=' \
-H 'Content-Type: application/json' \
-d '{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Activemq-server",
"brokerName": "DemoBroker",
"topicName": "Sample_Topic111"
}'Query Parameters
| Parameter | Type | Description |
|---|---|---|
jobDate |
integer | Schedule job date (Unix Timestamp). |
jobTags |
string | Comma-separated list of job tags (used only with jobDate). |
validateAccessForUser |
string | Validate endpoint access for user. |
waitForRead |
boolean | Whether to wait for cache update after the change. |
Request Body
{
"wgsName": "MQM",
"nodeName": "CMACTIVEMQ",
"managerName": "Activemq-server",
"brokerName": "DemoBroker",
"topicName": "Sample_Topic111"
}Response Codes
204 No Content – Object changed successfully.
304 Not Modified – Object not changed.
* – Error occurred, returns
ErrorPojo.
Response Header
204 No Content – Topic updated successfully
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019 date: Fri,26 Sep 2025 14:50:34 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