Keys
Update a key's remaining limit
POST
/
v1
/
keys.updateRemaining
Changelog
Date | Changes |
---|---|
Dec 06 2023 | Introduced endpoint |
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
keyId
string
requiredThe id of the key you want to modify
op
enum<string>
requiredThe operation you want to perform on the remaining count
Available options:
increment
, decrement
, set
value
integer | null
requiredThe value you want to set, add or subtract the remaining count by
Response
200 - application/json
remaining
integer | null
requiredThe number of remaining requests for this key after updating it. null
means unlimited.
Was this page helpful?