delete usageRecordGroup
DELETE https://api.suger.cloud/org/{orgId}/usageRecordGroup/{usageRecordGroupId}
delete the UsageRecordGroup for the given organization and usageRecordGroup ID. Only usageRecordGroup with status "CREATED" or "INVALID" can be deleted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
usageRecordGroupId | path | string | yes | UsageRecordGroup ID |
creationDate | query | string | no | UsageRecordGroup's creation date (UTC) in YYYY-MM-DD format |
Responses
200 — OK
Content-Type: application/json · Schema: MeteringUsageRecordGroup
400 — Bad request error
Content-Type: application/json
404 — usageRecordGroup not found
Content-Type: application/json
500 — Internal server error
Content-Type: application/json