Ze da API icon

Ze da API

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

Actions137

Newsletter → Revoke Admin Invite

AI-generated

Summary

Revoke an admin invite for a specific phone number in a newsletter.

Inputs

  • newsletterId (required) — The ID of the newsletter whose admin invite should be revoked.
  • phone (required) — The phone number associated with the admin whose invite is being revoked (e.g., 5511999999999).
  • requestOptions — Additional request configuration such as batching settings.
  • allowUnauthorizedCerts — Whether to skip SSL certificate validation for the request.
  • proxy — HTTP proxy URL to use for the request, including optional authentication.
  • timeout — Request timeout in milliseconds (default 10000).

Output shape

A JSON response indicating success or failure, typically containing a status message.

The response may include a confirmation field; errors are returned as HTTP error responses.

Examples

Example 1: Revoke an admin invite using the default timeout and no extra options.

newsletterId: 'nl_12345'; phone: '+5511999999999'; requestOptions: {}; allowUnauthorizedCerts: false; proxy: ''; timeout: 10000

Example 2: Revoke an admin invite with batching enabled to throttle multiple requests.

newsletterId: 'nl_12345'; phone: '+5511999999999'; requestOptions: { batch: { batchSize: 50, batchInterval: 1000 } }; allowUnauthorizedCerts: false; proxy: ''; timeout: 10000

Example 3: Revoke an admin invite through a corporate proxy with relaxed SSL validation.

newsletterId: 'nl_12345'; phone: '+5511999999999'; requestOptions: {}; allowUnauthorizedCerts: true; proxy: 'http://user:pass@proxy.example.com:3128'; timeout: 15000

Links

Discussion