### Delete a subscriber

`DELETE /api/v1/users/{id}`

Soft-deletes the account and frees its username slot by renaming the row. The subscriber's live portal sessions are ended.

- Authentication: manager session (JWT) or API token
- Permission: `prm_users_delete` (Delete users)
- Risk: danger
- Rate limit bucket: `t_mutate`

#### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | Subscriber id. |

#### Errors

| Code | Status | When |
| --- | --- | --- |
| `ERR_VALIDATION` | 422 | the wallet balance is not zero — settle or withdraw it first |
| `ERR_NOT_FOUND` | 404 | no such subscriber, or one outside the caller's subtree |

