Suger

update billable metric

PATCH https://api.suger.cloud/org/{orgId}/billableMetric/{billableMetricId}

Update the name, description and status of the billable metric for the given organization.

Parameters

NameInTypeRequiredDescription
orgId path string yes Organization ID
billableMetricId path string yes Billable Metric ID

Request Body

Required. Content-Type: application/json · Schema: UpdateBillableMetricParams

Responses

200 — OK

Content-Type: application/json · Schema: BillableMetric

400 — Bad request error

Content-Type: application/json

404 — billable metric not found

Content-Type: application/json

500 — Internal server error

Content-Type: application/json


View as Markdown · Interactive API reference