PUT
/
v1
/
billable-metrics
/
{billable_metric_id}
Update a billable metric
curl --request PUT \
  --url https://api.metronome.com/v1/billable-metrics/{billable_metric_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "CPU hours"
}'
{
  "data": {
    "id": "8deed800-1b7a-495d-a207-6c52bac54dc9"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

billable_metric_id
string<uuid>
required

Body

application/json

The billable metric to update

The body is of type object.

Response

200 - application/json

Success

The response is of type object.