Skip to main content
POST
Update setting

Authorizations

apikey
string
header
required

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

Path Parameters

instance
string
required

The number's display name in the Pilot Status dashboard.

Body

application/json
groupJid
string
required

Group JID (may also be sent as a groupJid query parameter).

Example:

"120363000000000000@g.us"

action
string
required

One of announcement, not_announcement, locked, unlocked.

Example:

"announcement"

Response

Success — provider-native response body.

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.