This article shows how to update the configuration of an ActiveMQ remote manager using the REST API.
Update ActiveMQ Remote Manager
PATCH /activemq/remote-mgrs/{nodeName}/{managerName}
Updates the configuration of a specific ActiveMQ Remote Manager.
Example Request
curl -X 'PATCH' \ 'http://<hostname>:8019/rest/v1/activemq/remote-mgrs/REMOTE_ACTIVEMQ/activemq-ssl' \ -H 'accept: */*' \ -H 'Authorization: Basic QWRtaW46YWRtaW4=' \ -H 'Content-Type: application/json'
Query Parameters
| Parameter | Type | Description |
|---|---|---|
validateAccessForUser |
string |
Whether to validate access for the user. |
Request Body
{
"wgsName": "MQM",
"nodeName": "string",
"managerName": "string",
"uri": "string",
"general": {
"url": "string",
"username": "string",
"password": "string",
"ignoreSslCert": true,
"keyStorePath": "string",
"keyStorePassw": "string",
"trustStorePath": "string",
"trustStorePassw": "string",
"jmxDomainName": "string"
}
}Response Codes
-
204 No Content: Successfully updated. -
304 Not Modified: No change made. -
*: Error occurred, returnsErrorPojo.
Example Response
204 No Content: Successfully updated.
{
"wgsName": "MQM",
"nodeName": "activemq-node",
"managerName": "activemq-manager",
"uri": "string",
"general": {
"url": "string",
"username": "string",
"password": "string",
"ignoreSslCert": true,
"keyStorePath": "string",
"keyStorePassw": "string",
"trustStorePath": "string",
"trustStorePassw": "string",
"jmxDomainName": "string"
}
}'