Skip to main content
Requirement: Logged-in user must be the owner of the group.
Permanently delete a group and all its messages. Only the group owner can perform this operation.
This operation is irreversible. Deleted groups and their messages cannot be recovered.

Delete a Group

Deleting a group needs a connection. With offline support enabled, deleteGroup() is not queued for later. After it succeeds, the group’s conversation and cached messages leave the on-device cache at the next sync, once the server no longer lists the group. Any messages still queued to it are then reported as failed with reason DISCARDED. See Send While Offline.
Use deleteGroup() with the group’s GUID.
The deleteGroup() method takes the following parameters: On success, the method resolves with true (boolean).

Next Steps

Create a Group

Create public, private, or password-protected groups

Retrieve Groups

Fetch group lists, search groups, and get group details

Leave a Group

Leave groups and stop receiving updates

Transfer Ownership

Transfer group ownership before leaving