cURL
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": {} } ] }'
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A successful response.
The response is of type object.
object