Delete a subscriber
DELETE
/api/v1/users/{id}
prm_users_delete
Soft-deletes the account and frees its username slot by renaming the row. The subscriber's live portal sessions are ended.
At a glance
- Authentication
- Staff token or session
- Requires permission
-
prm_users_deleteDelete users - Rate limit
t_mutate
Parameters
| Parameter | Description |
|---|---|
idrequired
path · integer
|
Subscriber id. |
Errors
| Code | When it is returned |
|---|---|
ERR_VALIDATION422
|
the wallet balance is not zero — settle or withdraw it first |
ERR_NOT_FOUND404
|
no such subscriber, or one outside the caller's subtree |