retry usageRecordGroup
POST https://api.suger.cloud/org/{orgId}/usageRecordGroup/{usageRecordGroupId}/retry
Retry the given UsageRecordGroup by setting from status "REPORT_FAILED" to "CREATED", and it will be ready for the next hourly report. Only usageRecordGroup with status "REPORT_FAILED" can be retried.
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