Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The ID of the billable metric to archive
Response
Success
Use this endpoint to retire billable metrics that are no longer used. After a billable metric is archived, that billable metric can no longer be used in any new Products to define how that product should be metered. If you archive a billable metric that is already associated with a Product, the Product will continue to function as usual, metering based on the definition of the archived billable metric.
Archived billable metrics will be returned on the getBillableMetric
and listBillableMetrics
endpoints with a populated archived_at
field.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the billable metric to archive
Success