Delete User¶
Required privilege: Users / Edit
CSRF header required: X-XSRF-TOKEN
Performs a soft delete - the user's status is set to Inactive and their data is preserved for audit history. The account can be reactivated via Update User.
Path Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
integer | Yes | Internal user identifier |
Response¶
Errors¶
| Status | Code | Description |
|---|---|---|
| 400 | User.NotFound |
No user with this ID |
| 400 | User.CannotModifySuperuser |
Cannot delete protected account |
| 403 | User.NotPrivileged |
Insufficient privilege |