Reset a group's invite link
reset_group_invite_linkRevoke the current invite link for a WhatsApp group and generate a fresh one, so only the new link can be used to join.
Instructions
Revoke the group's invite link and return a new one. Anyone holding the old link can no longer join with it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. The old invite link stops working. 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). |