Skip to main content
PUT
/
v1
/
metrics
/
{metric_id}
Update a metric
curl --request PUT \
  --url https://api.monigo.co/v1/metrics/{metric_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "aggregation": "<string>",
  "aggregation_property": "<string>",
  "description": "<string>",
  "event_name": "<string>",
  "name": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

API key with Bearer prefix (for programmatic/server-to-server access), format: Bearer {api_key}

Path Parameters

metric_id
string
required

Metric ID

Body

application/json

Metric update fields

aggregation
string
aggregation_property
string
description
string
event_name
string
name
string

Response

OK

The response is of type object.