Metric Definitions Update

POST

Updates a custom metric definition

Request

This endpoint expects an object.
idstringRequired

The ID of the metric definition to update.

descriptionstringOptional<=1024 characters

The updated description of the purpose and operation of the metric.

namestringOptional>=1 character<=64 characters

The updated unique human readable name of the metric.

status"active" or "inactive"Optional
Allowed values: activeinactive

The status of the metric. ‘active’ metrics can be used to create new SLAs, while ‘inactive’ metrics can not be used in new SLAs. Metrics can be updated between ‘active’ and ‘inactive’ states.

Response

This endpoint returns an object.
metric_definitionobject