---
title: "Remove a user from a team"
method: DELETE
path: "/users/{id}/teams/{teamId}"
tags: ["Users"]
---

# Remove a user from a team

`DELETE /users/{id}/teams/{teamId}`

Removes a user from a team. Returns 204 on success, 404 if the user, team, or membership does not exist.

## Path parameters

- `id` integer, required — User ID
- `teamId` integer, required — Team ID

## Response `204`

User removed from team

## Other responses

- `401` — Authentication failed. The API key is missing or invalid.
- `404` — User, team, or membership not found
- `429` — Rate limit exceeded. Retry after the X-RateLimit-Reset interval.

---

[API](https://skmtc.dev/modjo/apis/modjo-public-api.md) · [All operations](https://skmtc.dev/modjo/apis/modjo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/modjo/modjo-public-api/revisions/dcae8b3284e8/schema)
