POST
/
dify
/
changeStatus
/
{instance}
curl --request POST \
  --url https://{server-url}/dify/changeStatus/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "remoteJid": "5511912345678@s.whatsapp.net",
  "status": "closed"
}'
{
  "message": "Status do bot Dify alterado para closed com sucesso"
}

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

Nome da instância

Body

application/json

Dados para alterar o status do bot Dify

The body is of type object.

Response

200 - application/json

Status do bot Dify alterado com sucesso.

The response is of type object.