Preview adding or removing traffic or time
POST
/api/v1/users/bulk-traffic/preview
prm_users_add_traffic
Read-only. Shows each subscriber's remaining traffic and online time before and after a signed change, using the same counters bulk-add-traffic and bulk-add-time write.
null means the plan does not meter that dimension. clamped means a removal would stop at zero: a balance never goes below zero.
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. |
traffic_mb
body · integer
|
Signed MB. Negative removes. |
minutes
body · integer
|
Signed minutes. Negative removes. At least one of the two must be non-zero. |