---
title: "DELETE /teams/{team_name}/memberships"
method: DELETE
path: "/teams/{team_name}/memberships"
tags: ["teams"]
---

# DELETE /teams/{team_name}/memberships

`DELETE /teams/{team_name}/memberships`

Remove a user from the team

## Path parameters

- `team_name` string, required — The unique name for the team.

## Request body

- object
  - `email` string, required

## Response `204`

Response

## Other responses

- `400` — Bad request
- `401` — Requires authentication
- `403` — Forbidden
- `404` — Resource not found
- `422` — UnprocessableEntity
- `500` — Internal Error

---

[API](https://skmtc.net/cloudquery/apis/cloudquery-openapi-spec.md) · [All operations](https://skmtc.net/cloudquery/apis/cloudquery-openapi-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudquery/cloudquery-openapi-spec/versions/4af580f9023b/schema)
