Skip to main content
POST
Configure group editing permissions

Authorizations

token
string
header
required

Body

application/json
groupjid
string
required

Unique group identifier (JID)

Example:

"120363308883996631@g.us"

locked
boolean
required

Defines editing permissions:

  • true = only admins can edit group info
  • false = any participant can edit group info
Example:

true

Response

Operation performed successfully

response
string
Example:

"Group lock status changed successfully"

group
object

Represents a group/collective conversation

needs_refresh
boolean

Indicates whether the group details need to be fetched again

Example:

false