Skip to main content
DELETE
Void Grant

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

entitlementId
string
required

The unique identifier of the entitlement

Pattern: ^ent_[a-zA-Z0-9]+$
grantId
string
required

The unique identifier of the grant

Response

Grant successfully voided (or already voided).

object
enum<string>
default:grant
required
Available options:
grant
id
string
required

Unique identifier for the grant.

Pattern: ^grt_[a-zA-Z0-9]+$
entitlementId
string
required

The entitlement this grant belongs to.

Pattern: ^ent_[a-zA-Z0-9]+$
amount
number
required

The number of credits granted.

effectiveAt
string<date-time>
required

When the grant becomes effective.

createdAt
string<date-time>
required

When the grant was created.

recurrencePeriod
string | null
required

The recurrence interval (ISO 8601 duration) if this is a recurring grant. Null for one-time grants.

idempotencyKey
string | null
required

The idempotency key used when creating this grant. Null if not provided.

expiresAt
string<date-time> | null

When the grant expires. Null means no expiration.

voidedAt
string<date-time> | null

When the grant was voided. Null means the grant is active.

resetMaxRollover
number

Maximum balance carried over at the entitlement's reset boundary. A value of 999999999999 represents effectively unlimited rollover (the default for direct and purchase grants). A value of 0 means any remaining balance is discarded at each reset.

resetMinRollover
number

Minimum balance at the entitlement's reset boundary; balances below this are floored up. 0 means no floor.

priority
integer

Burn-down priority. Grants with a lower priority are consumed before grants with a higher priority; ties break on earliest expiration, then creation order. Defaults to 0.