DEL
Leave Group
Leave a group the instance is a member of.
API endpoint
https://waclient.com/api/leave_groupExample:
curl -X DELETE \
'https://waclient.com/api/leave_group' \
-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]",
"left": true
}
}| Parameter | Description |
|---|---|
| group_id | Group JID, e.g. [email protected] or numeric id |
| instance_id | Your instance ID |
| access_token | Your access token |