---
title: "Remove Bot Chat Member"
method: DELETE
path: "/bots/chats/{chat_id}/members/{member_id}"
tags: ["Bots"]
---

# Remove Bot Chat Member

`DELETE /bots/chats/{chat_id}/members/{member_id}`

## Request

- Base URL: `https://api.krea.ai`
- URL: `https://api.krea.ai/bots/chats/{chat_id}/members/{member_id}`
- Auth: HTTP bearer

Take a person out of a group chat. Only the person who started the chat removes other people. With the caller's own user id the caller leaves; whoever started the chat cannot leave it. Work the bots were doing for that person stops.

## Path parameters

- `chat_id` string, uuid, required
- `member_id` string, uuid, required

## Response `200`

The person is out.

- object
  - `chat_id` string, required
  - `removed` object, required
    - `kind` 'bot' | 'person', required
    - `id` string, required
  - `left` boolean, required: True when the caller took themselves out of the chat.

## Other responses

- `400`: Invalid JSON body, or a request the chat refuses.
- `401`: Authentication required.
- `403`: Bots is not included in the workspace plan, not open to this account, or the caller may not make this change to the chat.
- `404`: Bot, chat, question or attachment not found or not accessible.
- `409`: The chat changed under the request.
- `422`: Invalid input.
- `429`: Too many requests.

## Changes

- **2026-12-03** `ae8c061af7e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/krea/apis/krea-api/changes/bots/chats/:chat_id/members/:member_id/delete.md)

---

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