Use this method to modify properties for a specific metrics forwarder.
Authentication with user name and password is required.
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.
None
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.
|
{
"description": "Metrics subscription",
"enable": "true"
}
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
None