Turn unlimited credits on or off
PATCH
/credits/accounts/{id}/manage Delete and money: deletes, credits, servers or panel settings. Scopes
With unlimited credits, a reseller's lines cost nothing whatever their balance. Panel operators who may add or remove credits only.
Path parameters
idstring (uuid)required
Headers
Idempotency-KeystringA fresh value (up to 100 characters) per action you may retry. Sent again with the same request, it answers what the first one did without doing it twice; with another request, 409. Kept 24 hours.
Body
unlimitedboolean
Response
200 OK
idstring (uuid)requiredusernamestringrequiredgroupstringrequiredcan be nullparentobjectrequiredread-onlycan be nullidstring (uuid)requiredusernamestringrequired
balancestring (decimal)requiredunlimitedbooleanrequiredspent_this_monthstring (decimal)requiredlast_entry_atstring (date-time)requiredcan be nullcheapest_pricestring (decimal)requiredcan be nulllowbooleanrequiredread-onlyis_activebooleanrequired
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.