---
title: "Remove a team member (idempotent)"
method: DELETE
path: "/v1/team/{user_id}"
tags: ["Team"]
---

# Remove a team member (idempotent)

`DELETE /v1/team/{user_id}`

## Request

- Base URL: `https://api.algenta.ai`
- URL: `https://api.algenta.ai/v1/team/{user_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Remove a user from the org: suspend (never delete), revoke their API keys, devices and
pending invites, drop their home link to it and withdraw the admin basis of the GitHub
installations they bound. Idempotent: removing an already-suspended member answers 200
``already_absent`` — and still revokes anything that member kept (e.g. a seat-downgrade
suspension).

## Path parameters

- `user_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codna/apis/algenta-api.md) · [All operations](https://skmtc.dev/codna/apis/algenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codna/apis/algenta-api/revisions/35d30f84a5df?raw)
