Remove people from a group
remove_group_participantsRemove unwanted contacts from a WhatsApp group you administer. Specify the account, group, and participants, then confirm to permanently remove them—they must be added or invited again.
Instructions
Remove participants from a group the account administers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. Removed participants have to be added or invited again. Only set it after the user asked for this or agreed to it. | |
| groupId | Yes | The group id (`...@g.us`), from list_groups. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). | |
| contactIds | Yes | Contact ids: E.164 with + (`+584241112233`) or `lid:<digits>`. |