Description
This endpoint allows demoting group admins to regular participants.URL Parameters
WhatsApp unique session ID
ID of the group in format
120363XXXXX@g.us
Body
Body Parameters
Property | Type | Required | Description |
---|---|---|---|
participants | array | ✅ Yes | Array of JIDs of admins to be demoted. Format: ["5511999999999@s.whatsapp.net"] |
Response
Status Codes
200
- Admins demoted successfully400
- Invalid parameters401
- Unauthorized403
- No permission (admins only)404
- Group not found
Usage Example
Authorizations
Your Wappfy API key (get it at dash.wappfy.com.br)
Path Parameters
ID do Grupo
Body
application/json