Remove group participants

Removes one or more participants from a WhatsApp group so they no longer receive messages posted there.

Request parameters

Path parameters

KeyDescriptionValuesData TypeRequired/Optional
appIdIdentifier of the WhatsApp app the call acts on.6f414190-d45c-4671-bca1-fb6c3018cb13StringRequired
groupIdIdentifier of the WhatsApp group.120363021051234567StringRequired

Body

KeyDescriptionValuesData TypeRequired/Optional
messaging_productAlways "whatsapp"whatsapp—Required
participantsParticipants to remove——Required

Sample cURL — Remove group participants.

curl --request DELETE \
  --url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/group/120363021051234567/participants' \
  --header 'Authorization: Bearer <UT>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "messaging_product" : "whatsapp",
  "participants" : [ {
    "user" : "91XXXXXXXX00"
  } ]
}'

Sample success response (200)

{
  "status": "success",
  "data": {
    "messaging_product": "whatsapp",
    "request_id": "C3D4E5F6G7H8I9J0K1L2M3N4O5P6Q7R8"
  }
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the WhatsApp app the call acts on.

string
required

Identifier of the WhatsApp group.

Body Params

messaging_product plus a participants array of {user} objects.

Remove participants from a group

string
enum
required

Always "whatsapp"

Allowed:
participants
array of objects
required

Participants to remove

participants*
Responses

Language
Credentials
Bearer
Universal Token (UT)
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json