OpenMeter Entitlements
Reset customer entitlement usage
Changed onReset the usage of a metered entitlement. The reset starts a new usage period: usage is zeroed and grants roll over according to their rollover settings.
Usage is reset automatically at the end of each usage period. Use this operation to reset it earlier, for example to align the entitlement with the customer's billing period. The usage period anchor can be moved at the same time.
post/openmeter/customers/{customerId}/entitlements/{entitlementId}/reset
Request
- Base URL: http://localhost:8888/api/v3
- URL: http://localhost:8888/api/v3/openmeter/customers/{customerId}/entitlements/{entitlementId}/reset
- Auth: none declared
Path parameters
customerIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
entitlementIdstring required
ULID (Universally Unique Lexicographically Sortable Identifier).
Example:01G65Z755AFWAKHE12NY0CQ9FH
Request body
Example request
{
"effective_at": "2023-01-01T01:01:01.001Z"
}Response
Deleted response.
Changes
- ○
endpoint added
- ○