This article shows how to update the custom properties of a specific ActiveMQ topic using the REST API.
Update ActiveMQ Topic Custom Properties
PATCH /activemq/topics/{nodeName}/{managerName}/{brokerName}/{topicName}/custom-properties
Updates custom property values for the specified ActiveMQ topic.
Example Request
curl -X 'PATCH' \
'http://<hostname>:8019/rest/v1/activemq/topics/CMACTIVEMQ/Activemq-server/DemoBroker/ActiveMQ.Advisory.Connection/custom-properties' \
-H 'accept: */*' \
-H 'Authorization: Basic QWRtaW46YWRtaW4=' \
-H 'Content-Type: application/json' \
-d '{
"additionalProp1": "test_prop1",
"additionalProp2": "test_prop3",
"additionalProp3": "string"
}'Query Parameters
| Parameter | Type | Description |
|---|---|---|
jobDate |
int64 | Schedule job date (Unix timestamp). |
jobTags |
string | Comma-separated list of schedule job tags (used only with jobDate). |
validateAccessForUser |
string | Whether to validate endpoint access for the user. |
Request Body
{
"additionalProp1": "test_prop1",
"additionalProp2": "test_prop3",
"additionalProp3": "string"
}Response Codes
204 No Content – Object successfully updated.
304 Not Modified – No changes were applied.
* – Error occurred.
Response Header
204 No Content: Successfully updated
access-control-allow-credentials: true access-control-allow-origin: http://<hostname>:8019 date: Fri, 26 Sep 2025 14:32:50 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