cURL
curl --request POST \ --url https://api.crunchz.app/api/groups/participants/remove \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "group_id": "xxx@g.us", "participants": [ { "id": "xxx@c.us" } ] } '
{ "success": true, "message": "<string>", "data": [ { "id": "<string>", "is_admin": true } ], "meta": { "current_page": 1, "per_page": 50, "total": 150, "total_pages": 3, "has_next_page": true, "has_prev_page": false } }
Remove members from a WhatsApp group using the group ID and participant phone numbers. Requires superadmin privileges.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Group ID
"xxx@g.us"
Array of participant objects to add to the group
Show child attributes
ParticipantCollection
The success status of response.
The message of response.
Was this page helpful?