Skip to main content
PUT
cURL
Set a customer’s quota allowance for a feature to an exact value.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Idempotency-Key
string

Unique key used to safely retry this write for 24 hours without applying it twice.

Required string length: 1 - 200
Commet-Version
string
predeterminado:2026-08-27

API version used by this reference. Send this header to select this contract explicitly.

Cuerpo

application/json
featureCode
string
requerido
Required string length: 1 - 50
Pattern: ^[a-z0-9_]+$
count
integer
requerido
Rango requerido: 0 <= x <= 9007199254740991
customerId
string
requerido
Required string length: 1 - 200

Respuesta

Success

id
string
requerido
customerId
string
requerido
featureCode
string
requerido
previousBalance
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
newBalance
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
ts
string<date-time>
requerido
createdAt
string<date-time>
requerido
object
string
requerido
Allowed value: "usage_quota_event"
livemode
boolean
requerido