DEL
Revoke Group Invite
Revoke the current invite link and generate a new one. Requires admin privileges.
API endpoint
https://waclient.com/api/revoke_group_inviteExample:
curl -X DELETE \
'https://waclient.com/api/revoke_group_invite' \
-H 'Content-Type: application/json' \
--data '{
"group_id": "[email protected]",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"group_id": "[email protected]",
"invite_code": "NEWCODE456",
"invite_link": "https://chat.whatsapp.com/NEWCODE456"
}
}| Parameter | Description |
|---|---|
| group_id | Group JID, e.g. [email protected] or numeric id |
| instance_id | Your instance ID |
| access_token | Your access token |