---
title: "Remove a user"
method: DELETE
path: "/v2/team/remove-user"
tags: ["team"]
---

# Remove a user

`DELETE /v2/team/remove-user`

This endpoint lets a retailer, supplier, or admin remove a user from the team. You must have the necessary permissions to perform this action.

## Query parameters

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

## Response `200`

The user is successfully removed from the team.

- V2QuitTeamResponse
  - `removeUserResponseMessage` string — Confirmation message indicating the user has been successfully removed from the team.

## Other responses

- `400` — There was a problem with input.
- `401` — Access denied due to insufficient permissions.
- `403` — Login failed or token not valid.
- `404` — Team for specified id does not exist.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/citrusad/apis/citrus-auth-api.md) · [All operations](https://skmtc.net/citrusad/apis/citrus-auth-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/citrusad/citrus-auth-api/versions/a040003c7378/schema)
