---
title: "Remove a user from a team"
method: DELETE
path: "/api/v2/team/{team_id}/memberships/{user_id}"
tags: ["Teams"]
---

# Remove a user from a team

`DELETE /api/v2/team/{team_id}/memberships/{user_id}`

Remove a user from a team.

**Note**: Each team has a setting that determines who is allowed to modify membership of the team. The `user_access_manage` permission generally grants access to modify membership of any team. To get the full picture, see [Team Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).

## Path parameters

- `team_id` string, required
- `user_id` string, required

## Response `204`

No Content

## Other responses

- `403` — Forbidden
- `404` — API error response.
- `429` — Too many requests

---

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