Reset quota counters
POST
/api/v1/users/{id}/reset-quota
prm_users_reset_quota
Always zeroes the daily counters. With clear_period true it also nulls the period quota, which is the destructive form. Lifts a daily FUP throttle and kicks the live session so full speed returns immediately. An empty body is accepted and means clear_period false.
At a glance
- Authentication
- Staff token or session
- Requires permission
-
prm_users_reset_quotaReset user quota - Rate limit
t_mutate
Parameters
| Parameter | Description |
|---|---|
idrequired
path · integer
|
Subscriber id. |
clear_period
body · boolean
|
Also null the period quota counters. Defaults to false. |
reason
body · string
|
Free-text note recorded on the quota-history audit row. |
Errors
| Code | When it is returned |
|---|---|
ERR_NOT_FOUND404
|
no such subscriber |