Add or remove online time for many subscribers
POST
/api/v1/users/bulk-add-time
prm_users_add_traffic
Adds a signed number of minutes to each subscriber's remaining online time. A negative amount removes time and stops at zero.
A subscriber whose plan does not meter online time is reported as no_traffic_quota and left unchanged. bulk-add-traffic reports the same reason for a plan that does not meter traffic.
At a glance
- Authentication
- Staff token or session
- Requires permission
-
prm_users_add_trafficAdd traffic - Rate limit
t_mutate
Parameters
| Parameter | Description |
|---|---|
idsrequired
body · array
|
Subscriber ids, at most 1000. |
params.minutesrequired
body · integer
|
Signed, non-zero minutes. |