# Remove a teammate from a team

```http
DELETE https://trydimmi.com/api/v1/teams/{team}/members/{member}
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `members:write`.

## Path parameters

- `team` (string, required): Id of the team, starting with team_, such as team_01jx2m8k4t. Find it with GET /teams.
- `member` (string, required): Id of the teammate (workspace member), starting with mem_, such as mem_01jx2m8k4t. Find it with GET /members.

## Response 204 (No Content)

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request DELETE \
  --url 'https://trydimmi.com/api/v1/teams/{team}/members/{member}' \
  --header 'Authorization: Bearer <token>'
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
