batch report usageRecordGroups
POST https://api.suger.cloud/org/{orgId}/batchCreateUsageRecordGroups
Batch report new usage record groups.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
Request Body
Required. Content-Type: application/json · Schema: array<NewUsageRecordGroup>
Responses
200 — OK
Content-Type: application/json
400 — all the quantity of usage records are zero
Content-Type: application/json
500 — Internal server error
Content-Type: application/json