### Add or remove online time for many subscribers

`POST /api/v1/users/bulk-add-time`

Adds a signed number of minutes to each subscriber's remaining online time. A negative amount removes time and stops at zero.

- Authentication: manager session (JWT) or API token
- Permission: `prm_users_add_traffic` (Add traffic)
- Risk: danger
- Rate limit bucket: `t_mutate`

#### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ids` | body | array | yes | Subscriber ids, at most 1000. |
| `params.minutes` | body | integer | yes | Signed, non-zero minutes. |

#### Request

```json
{
  "ids": [4711, 4712],
  "params": { "minutes": 60 }
}
```

#### Response — 200 OK

```json
{
  "data": {
    "updated": [4711],
    "failed": [
      { "id": 4712, "reason": "no_traffic_quota",
        "message": "This subscriber's plan doesn't meter this — there is no balance to add to or take from." }
    ]
  }
}
```

#### Note

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.

