POST
/
groups
/
participants
/
remove
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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

ParticipantCollection

The response is of type object.