Z-PRO icon

Z-PRO

Consome a API externa da Z-PRO (multiatendimento WhatsApp e outros canais)

Actions198

Grupos WhatsApp → Group Set Admins Only

AI-generated

Summary

Set or unset the 'admins only' permission for one or more WhatsApp groups by specifying their group IDs and optional WhatsApp ID.

Inputs

  • Whatsapp ID — Optional identifier for the WhatsApp account to execute the operation against.
  • Group IDs — JSON array of WhatsApp group IDs to update. Defaults to an array containing '{{groupId}}' if not set.
  • Admins Only — Boolean flag to enable (true) or disable (false) the 'admins only' setting on the specified groups. Defaults to true.

Output shape

a single JSON object containing the response from the API, indicating success or failure of the update operation for the specified groups.

The operation sends a request body with whatsappId, groupIds, and adminsOnly fields to the API and returns its JSON response. There is no pagination; the response shape depends on the API response structure.

Links

Discussion