# Delete a user

`POST https://testing-backend.estactics.com/api/users/remove`

Permanently deletes a team member. You can move their clients to another user.

Authentication: `Authorization: Bearer YOUR_API_KEY`. Required permission: `users.MANAGE_ORG_USERS`.

## Body parameters

- `userId` (integer, required): ID of the user.
- `assignUserClientsToUserId` (integer): ID of the user who takes over the clients.

## Example request body

```json
{
  "userId": 19
}
```
