Billable Metrics
Delete a billable metric
Delete a billable metric. Metrics used in charges cannot be deleted.
delete/api/billable-metrics/{id}
Path parameters
idstring required
Billable Metric ID
Response
Billable metric deleted
Example response
{
"id": "clx1234567890",
"name": "API Calls",
"code": "api_calls",
"description": "Number of API calls made",
"aggregationType": "COUNT",
"fieldName": "tokens",
"filters": [
{
"id": "clx1234567890",
"key": "region",
"values": [
"us-east",
"us-west",
"eu"
]
}
]
}