Reset customer entitlement usage
Changed onPre-release Endpoint This endpoint is currently in beta and is subject to change.
Reset 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.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
ULID (Universally Unique Lexicographically Sortable Identifier).
Request body
Request body for resetting the usage of a metered entitlement.
The time the reset takes effect. Defaults to the current time and cannot be in the future. Truncated to the minute.
Whether the usage period anchor is kept. When false, the anchor moves to effective_at.
Whether overage carries over into the new usage period. Defaults to the entitlement's own setting.
Example request
{
"effective_at": "2023-01-01T01:01:01.001Z"
}Response
Deleted response.
Changes
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking