PATCH /metrics_service/subscriptions/<id>

Use this method to modify properties for a specific metrics forwarder.

Note: This API requires Lenovo XClarity Administrator v2.8.0 or later.


Authentication with user name and password is required.

Request URL

PATCH https://<management_server_IP>/metrics_service/subscriptions/<id>

where <id> is the ID of the metrics forwarder (subscription). To obtain the forwarder IDs, use GET /metrics_service/subscriptions.

Query parameters


Request body

Parameter Required / Optional Type Description
description Optional String Description for the metrics forwarder
enable Optional Boolean Indicates whether the metrics forwarder is enabled. This can be one of the following values.
  • true. (default) The metrics forwarder is enabled.
  • false. The metrics forwarder is disabled.

Request example

   "description": "Metrics subscription",
   "enable": "true"

Response codes

Code Description
200 OK
404 Not Found
500 Internal server error

Response body