---
title: "POST /kickChatMember"
method: POST
path: "/kickChatMember"
---

# POST /kickChatMember

`POST /kickChatMember`

Use this method to kick a user from a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the group on their own using invite links, etc., unless [unbanned](https://core.telegram.org/bots/api/#unbanchatmember) first. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns *True* on success.

## Request body

- object
  - `chat_id` union, required — Unique identifier for the target group or username of the target supergroup or channel (in the format `@channelusername`)
    - integer
    - string
  - `user_id` integer, required — Unique identifier of the target user
  - `until_date` integer — Date when the user will be unbanned, unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever

## Response `200`

- object
  - `ok` boolean, required
  - `result` boolean, required

## Other responses

- `default`

---

[API](https://skmtc.net/stoplight/apis/telegram-bot-api.md) · [All operations](https://skmtc.net/stoplight/apis/telegram-bot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stoplight/telegram-bot-api/versions/be4bbb34b64a/schema)
