---
title: "Remove Member"
method: DELETE
path: "/v1/auth/tenants/{tenant_id}/members/{user_id}"
tags: ["auth", "auth"]
---

# Remove Member

`DELETE /v1/auth/tenants/{tenant_id}/members/{user_id}`

## Request

- Base URL: `https://api.elaan.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.elaan.io/v1/auth/tenants/{tenant_id}/members/{user_id}`
- Auth: none declared

Remove a member from the tenant (admin+ only; owners only removable by
owners; never yourself). If the removed membership was that user's default
tenant and they still belong to others, one of those is promoted to default
so their next login still resolves a tenant.

## Path parameters

- `tenant_id` string, required
- `user_id` string, required

## Headers

- `authorization` string, nullable

## Response `204`

Successful Response

## Other responses

- `403`: Not an admin of that tenant, or an admin targeting an owner
- `404`: That person is not a member of this tenant
- `409`: You can't remove yourself from here
- `422`: Validation Error

---

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