Communities
Unlink groups
Remove groups from a community. The groups continue to exist as independent groups
POST
Unlink groups
Auth:
Envelope:
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: no
Description
Unlinks groups from a community. The groups are not deleted, they simply become independent again (nolinkedParentJid). Same body and response as /link (shared DTO).
Examples
Unlink groups
Removes 2 subgroups from the community120363406289005073@g.us. The groups become independent again (no linkedParentJid) but continue to exist with their members.
Success response
Confirms the unlink by returning the count inmessage (format "Unlinked N of M groups from community"). Because of the DTO shared with /link, the linked array here contains the JIDs successfully unlinked, and failed contains the ones that failed. success is true when at least one group was unlinked, even on partial success, always check failed[] to detect per-group errors.
200 OK
Path parameters
Instance name.
Headers
TokenAccount or TokenInstance.application/jsonRequest body
Community
@g.us JID.JIDs of the groups to unlink. At least 1 item.
Notes
- The community’s Announcements group cannot be unlinked, to remove the announcement group, you must delete the entire community (not exposed in this API).
- The members of the groups stay where they were, only the parent-child relationship is removed.
- To move a group between communities, unlink it here and use
/linkon the new one.
Errors
| HTTP | Message |
|---|---|
| 400 | community jid is required |
| 400 | group jid is required |
| 400 | Instance is not connected to WhatsApp |
| 500 | error parse community jid: <reason> |
Next
Link groups
Reconnect to another community.
List subgroups
Confirm the group has been removed.