---
title: "Removes a user from the team"
method: DELETE
path: "/v1/teams/{id}/users/{userId}"
tags: ["Teams"]
---

# Removes a user from the team

`DELETE /v1/teams/{id}/users/{userId}`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/teams/{id}/users/{userId}`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Remove a user from the team.

## Path parameters

- `id` string, required
- `userId` string, required

## Response `204`

User removed from team successfully

## Other responses

- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
