---
title: "Remove a single member"
method: DELETE
path: "/assistants/{assistant_id}/members/{user_id}"
tags: ["Assistant"]
---

# Remove a single member

`DELETE /assistants/{assistant_id}/members/{user_id}`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/assistants/{assistant_id}/members/{user_id}`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/docs/assistants/:assistant_id/members/:user_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove a specific user from the assistant's membership.

## Path parameters

- `assistant_id` integer, required
- `user_id` integer, required: ID of the member to remove.

## Query parameters

- `cookie_name` string, nullable

## Response `204`

Successful Response

## Other responses

- `401`: Missing or invalid authentication.
- `403`: Not the creator, or attempting to remove yourself as owner.
- `404`: Assistant does not exist, or the user is not a member.
- `422`: Validation Error

---

[API](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api.md) - [All operations](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/revisions/b53e89b98c2b?raw)
