Invalidate the current group invite code and generate a new one
Groups
Revoke Invite Code
Revoke the current invite code and generate a new one
POST
Invalidate the current group invite code and generate a new one
Description
This endpoint revokes the current invite code of the group and generates a new code. The previous code stops working.URL Parameters
WhatsApp unique session ID
ID of the group in format
120363XXXXX@g.usResponse
Status Codes
200- Code revoked successfully400- Invalid parameters401- Unauthorized403- No permission (admins only)404- Group not found
