Pular para o conteúdo principal
POST
/
api
/
instances
/
{instanceId}
/
groups
/
{groupId}
/
participants
/
remove
Remover participantes do grupo
curl --request POST \
  --url https://api.wappfy.io/api/instances/{instanceId}/groups/{groupId}/participants/remove \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "participants": [
    "[email protected]"
  ]
}
'

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parâmetros de caminho

instanceId
string<uuid>
obrigatório

UUID da instância WhatsApp

Exemplo:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

groupId
string
obrigatório

JID do grupo

Corpo

application/json
participants
string[]
obrigatório
Exemplo:

Resposta

Participantes removidos