TNEENWH icon

TNEENWH

Use TNEENWH API operations

Group Membership Reject

AI-generated

Summary

Reject membership requests for a specified WhatsApp group.

Inputs

  • Group JID (required) — The unique identifier of the WhatsApp group from which to reject membership requests.
  • Membership Body JSON — A JSON object containing additional details or parameters to include in the rejection request.
  • Session ID Override — Overrides the default session ID for this operation if provided.
  • Channel Secret Override — Overrides the default channel secret for this operation if provided.

Output shape

a single JSON object containing the API response to the reject membership requests call

The output is the raw response from the API call issued by the TNEENWH client; errors are either thrown or returned as error objects if 'continueOnFail' is enabled.

Examples

Example 1: Reject pending membership requests using group JID

Specify the group JID to reject membership requests for that group, optionally provide membership body JSON with additional parameters.

Links

Discussion