PUT
/
v2
/
custom-metrics
/
{id}
Updates a custom metric
curl --request PUT \
  --url https://api.pelanor.io/v2/custom-metrics/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "metricName": "<string>",
  "description": "<string>",
  "series": [
    {
      "values": [
        {
          "timestamp": "2023-11-07T05:31:56Z",
          "value": 123
        }
      ],
      "properties": {}
    }
  ]
}'
{}
This endpoint can be used to make partial and/or incremental updates to the Custom Metric values.
Custom metric updates may take up to 3 hours to reflect in the platform

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.