Skip to main content
POST
Set group locked status

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
group_id
string
required

The group ID

Example:

"120363024512399999@g.us"

locked
boolean
required

Whether to lock the group (true) or unlock it (false)

Example:

true

Response

OK

code
string
Example:

"SUCCESS"

message
string
Example:

"Success"

results
string
Example:

null