Groups
Update Group
Update name, description, picture, and permissions of an existing group
PUT
Update Group
Auth:
Envelope:
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: partial (sending the same values produces no effect)
Description
Updates any subset of group fields:name, description, image, groupSettings. At least one field beyond identifier must be sent. The response’s message lists the fields that were actually updated.
Examples
Update name
Renames the group120363406289005073@g.us to “Dev Team Updated”, leaving description, picture, and permissions unchanged.
Update multiple fields
Updates name, description, picture, and permissions in one shot: only admins can send messages (membersCanSendMessages: false) and new joins require approval (requireAdminApproval: true).
Remove picture
Deletes the group picture by sendingremoveImage: true. This flag takes precedence over image, useful for clearing the picture without providing a new one.
Clear description
Clears the group description (topic) by sendingdescription: "". An empty string is treated explicitly as “remove”, different from omitting the field, which keeps the current description.
Success response
Themessage lists only the fields that were actually changed (handy for confirming when a value you sent already matched the current one). The group object carries the full post-update state, including the resulting groupSettings and the current inviteLink.
200 OK
Path parameters
Instance name.
Headers
TokenAccount or TokenInstance.application/jsonRequest body
Group JID, code, or link.
New name. Max 25 characters.
New description (topic). An empty string (
"") removes the description.URL or base64. The image is converted to JPEG before upload.
When
true, removes the current picture. Takes precedence over image.Partial update of the permissions. Subfields:
membersCanEditInfo, membersCanSendMessages, membersCanAddOthers, requireAdminApproval.Notes
removeImage: trueignores any value sent inimage.- The response’s
messagelists only the fields actually changed, handy for confirming when a value you sent already matched the current one. - The internal execution order is: name -> description -> photo/removeImage -> settings. If a step fails, the previous ones have already been applied and are not rolled back.
description: ""clears the description, it is not equivalent to omitting the field.
Errors
| HTTP | Message |
|---|---|
| 400 | At least one field must be provided to update |
| 400 | group name must be 25 characters or less |
| 400 | Identifier is required |
| 403 | Not authorized to update this group (must be admin) |
| 404 | Group not found or you are not a member of this group |