PUT
/
v1
/
custom-metrics
/
{id}
cURL
curl --request PUT \
  --url https://api.pelanor.io/v1/custom-metrics/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>",
  "metric_data": {
    "Dimensional": {
      "data": [
        {
          "property_value": "<string>",
          "timeseries_point": [
            {
              "timestamp": "<string>",
              "value": 123
            }
          ]
        }
      ],
      "property_kind": {
        "type": "Region"
      }
    }
  },
  "metric_name": "<string>"
}'
null

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

The response is of type null.