Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Group → Remove Participant

AI-generated

Summary

Removes the given phone numbers from a WhatsApp group, optionally using configurable request options.

Inputs

  • groupId (required) — The WhatsApp group ID
  • phones (required) — Comma-separated list of phone numbers to remove
  • requestOptions — Configuration for request options such as batching, proxy, and timeout
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use (e.g., http://username:password@myproxy:3128)
  • timeout — Time in ms to wait for the server to send response headers before aborting the request

Output shape

Success response (no body) or error JSON

Does not return data about removed participants; only indicates completion or any error details

Examples

Example 1: Remove two phone numbers from a group

groupId: 5511999999999-1234567890@g.us, phones: 5511999999999,5511888888888

Example 2: Remove participants with batching enabled

groupId: 5511999999999-1234567890@g.us, phones: 5511999999999,5511888888888, requestOptions: {"batching": {"batchSize": 50}}

Example 3: Use proxy and ignore SSL certificate errors

groupId: 5511999999999-1234567890@g.us, phones: 5511999999999, requestOptions: {"proxy": "http://proxy:3128", "allowUnauthorizedCerts": true}

Links

Discussion