Update billable metric
PUT
/v1/billable_metrics/{metric_id}
Update a billable metric.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” metric_id
required
Metric Id
string format: uuid
Request Body required
Section titled “Request Body required ” BillableMetricUpdate
object
Responses
Section titled “ Responses ”Successful Response
BillableMetricResponse
object
id
required
Id
string format: uuid
code
required
Code
string
name
required
Name
string
aggregation_type
required
AggregationType
string
recurring
required
Recurring
boolean
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
Unauthorized – invalid or missing API key
Billable metric not found
Validation error