Suspend a subscriber
POST
/api/v1/users/{id}/suspend
prm_users_enable_disable
Sets enabled to false and, when the tenant has disconnect-on-update enabled, kicks any live session so the suspension takes effect now rather than at the next re-auth.
نظرة سريعة
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_users_enable_disableEnable / suspend users - حد المعدل
t_mutate
المعاملات
| المعامل | الوصف |
|---|---|
idمطلوب
path · integer
|
Subscriber id. |
الأخطاء
| الرمز | متى تُرجَع |
|---|---|
ERR_NOT_FOUND404
|
no such subscriber, or one outside the caller's subtree |