---
title: "Remove member"
method: DELETE
path: "/chats/{chatId}/members"
tags: ["chats"]
---

# Remove member

`DELETE /chats/{chatId}/members`

## Request

- Base URL: `https://botapi.tamtam.chat`
- URL: `https://botapi.tamtam.chat/chats/{chatId}/members`
- Auth: API key in query parameter `access_token`

Removes member from chat. Additional permissions may require.

## Path parameters

- `chatId` integer, required

## Query parameters

- `user_id` integer, required
- `block` boolean

## Response `200`

Success or not result

- SimpleQueryResult: Simple response to request
  - `success` boolean, required: `true` if request was successful. `false` otherwise
  - `message` string: Explanatory message if the result is not successful

## Other responses

- `401`: Authorization Error. No `access_token` provided or token is invalid
- `403`: Access error. You don't have permissions to access this resource
- `500`: Internal Server Error

## Changes

- **2019-11-11** `12923ef30071`: 1 info
  - added the new optional `query` request parameter `block`

[Operation history](https://skmtc.dev/tamtam/apis/tamtam-bot-api/changes/chats/:chatId/members/delete.md)

---

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