Entitlements
Customers
Reset customer entitlement
Reset marks the start of a new usage period for the entitlement and initiates grant rollover. At the start of a period usage is zerod out and grants are rolled over based on their rollover settings. It would typically be synced with the customers billing period to enforce usage based on their subscription.
Usage is automatically reset for metered entitlements based on their usage period, but this endpoint allows to manually reset it at any time. When doing so the period anchor of the entitlement can be changed if needed.
post/api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/reset
Path parameters
Example:01G65Z755AFWAKHE12NY0CQ9FH
entitlementIdOrFeatureKeystring required
Request body
Example request
{
"effectiveAt": "2023-01-01T01:01:01.001Z"
}Response
There is no content to send for this request, but the headers may be useful.