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.
نظرة سريعة
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_users_reset_quotaReset user quota - حد المعدل
t_mutate
المعاملات
| المعامل | الوصف |
|---|---|
idمطلوب
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. |
الأخطاء
| الرمز | متى تُرجَع |
|---|---|
ERR_NOT_FOUND404
|
no such subscriber |