---
title: "Remove team membership"
method: DELETE
path: "/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"
tags: ["enterprise-team-memberships"]
---

# Remove team membership

`DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}`

Remove membership of a specific user from a particular team in an enterprise.

## Path parameters

- `enterprise` string, required
- `enterprise-team` string, required
- `username` string, required

## Response `204`

Response

## Other responses

- `403` — Forbidden

---

[API](https://skmtc.net/github/apis/rest-api.md) · [All operations](https://skmtc.net/github/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/rest-api/versions/80850db290cd/schema)
