VK Teams icon

VK Teams

Send and read data through the VK Teams Bot API

Chat → Delete Members

AI-generated

Summary

Removes one or more members from a VK Teams chat by sending their IDs to the chat members delete endpoint. VK Teams checks whether the bot has permission to make this change.

Inputs

  • Chat ID (required) — The chat to remove members from.
  • Members (JSON) (required) — A nonempty JSON array of distinct, nonempty user ID strings, such as ["user@example.com"]. Expressions may return an array. IDs must be strings; duplicate IDs are rejected.

Output shape

A single item containing the VK Teams API response as JSON for each input item.

The operation issues a GET request to /chats/members/delete with the chat ID and member IDs encoded as objects containing an sn field. API errors are thrown; with Continue On Fail enabled, the item contains an error message instead.

Examples

Example 1: Remove several members

Set Chat ID to the target chat and Members (JSON) to ["user@example.com", "another-user-id"].

Links

Discussion