Skip to main content
POST
Atualizar configuração

Autorizações

apikey
string
header
obrigatório

Your Pilot Status API key (ps_...). Evolution GO also accepts Authorization: Bearer <key>.

Parâmetros de caminho

instance
string
obrigatório

O nome de exibição do número no painel do Pilot Status.

Corpo

application/json
groupJid
string
obrigatório

JID do grupo (também pode ser enviado como parâmetro de consulta groupJid).

Exemplo:

"120363000000000000@g.us"

action
string
obrigatório

Um de announcement, not_announcement, locked, unlocked.

Exemplo:

"announcement"

Resposta

Sucesso — corpo de resposta nativo do provedor.

Wrapper around the raw result of the group setting update (announcement / locked). The current Baileys client resolves without a body on success, so 'updateSetting' may be null.

updateSetting

Raw provider result of the setting change; null/empty on success in current Baileys versions.