Actions43
- Session Actions
- Chat Actions
- User Actions
- Group Actions
Group → Set Locked
AI-generatedSummary
Set Locked toggles a group's locked mode
Inputs
- groupJid (required) — JID of the group to modify
- locked (required) — Enable locked mode (only admins can modify settings)
Output shape
JSON object confirming the lock state change
The response body contains the server's acknowledgment and may include the updated locked status.
Examples
Example 1: Lock a group to restrict modifications
groupJid: '120363417042313103@g.us', locked: true
Example 2: Unlock a group to allow all participants to edit
groupJid: '120363417042313103@g.us', locked: false
