Skip to main content
POST
Demote participants to regular users

Description

This endpoint allows demoting group admins to regular participants.

URL Parameters

session
string
required
WhatsApp unique session ID
id
string
required
ID of the group in format 120363XXXXX@g.us

Body

Body Parameters

Response

Status Codes

  • 200 - Admins demoted successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized
  • 403 - No permission (admins only)
  • 404 - Group not found

Usage Example

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Path Parameters

id
string
required

ID do Grupo

Body

application/json
participants
object[]
required

Response

200 - undefined