---
title: "Remove a team member"
method: DELETE
path: "/teams/{id}/members/{userId}"
tags: ["teams"]
---

# Remove a team member

`DELETE /teams/{id}/members/{userId}`

Remove a user from a team

## Path parameters

- `id` string, required
- `userId` string, required

## Response `200`

OK

- MessageResponse
  - `message` string

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-03-26** `5d3393878bb6` — 1 info
  - endpoint added
- **2025-06-02** `0c070796939d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/teams/:id/members/:userId/delete.md)

---

[API](https://skmtc.dev/marmotdata/apis/marmot-api.md) · [All operations](https://skmtc.dev/marmotdata/apis/marmot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marmotdata/apis/marmot-api/revisions/cadebfd78fef?raw)
