Suspend many subscribers
POST
/api/v1/users/bulk-disable
prm_users_enable_disable
Takes an array of ids and suspends each. One request against the per-tenant write budget instead of one per subscriber, which is the difference between fitting in a minute and not.
A bulk call reports per-id outcomes and returns 200 even when some ids failed. failed is always present, as an array, and each entry carries a stable reason (not_found, not_authorized, error) alongside a localized message. Branch on reason; treating the 200 as "all of them worked" is the mistake this shape exists to prevent.
نظرة سريعة
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_users_enable_disableEnable / suspend users - حد المعدل
t_mutate
المعاملات
| المعامل | الوصف |
|---|---|
idsمطلوب
body · array
|
Subscriber ids. |