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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
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