> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeplo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE Delete Team Member

> Remove a team member from the workspace.

## Delete team member

`DELETE /api/team/members/:id`

Remove a team member permanently.

### Headers

**Cookie** `string` *required*

Session cookie (login via POST /api/auth/login)

### Path parameters

**id** `integer` *required*

Team member ID.

```bash cURL theme={null}
curl -X DELETE https://zeplo.ai/api/team/members/5 \
  -H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw"
```

```json Response theme={null}
{
  "success": true,
  "message": "Team member deleted successfully"
}
```

> [!NOTE]
>
> Conversations assigned to the deleted member will become unassigned.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.