---
title: "Removes a user or invitation from a team"
method: DELETE
path: "/teams/{teamId}/memberships/{userId}"
tags: ["Teams"]
---

# Removes a user or invitation from a team

`DELETE /teams/{teamId}/memberships/{userId}`

## Path parameters

- `teamId` string, required
- `userId` string, required

## Query parameters

- `requesterUserId` string

## Response `200`

Success message

## Other responses

- `204` — Request was canceled.
- `400` — Required parameters or authentication info could not be found in the request/claims.
- `403` — You're not allowed to request the access all required entities.
- `404` — Required entities could not be found in the database.
- `500` — Internal Server Error

---

[API](https://skmtc.net/signl4/apis/signl4-api-v1.md) · [All operations](https://skmtc.net/signl4/apis/signl4-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signl4/signl4-api-v1/revisions/ddbe216a9287/schema)
