How to delete a group

Deleting a WhatsApp group

Deleting a WhatsApp group works differently depending on your role in the chat — whether you are an administrator or a regular participant.

If You Are a Group Administrator

If you are a group admin, you will need to remove all of its members before you can delete the group.

  1. Get a group ID and a list of group member (method: https://whapi.readme.io/reference/getgroups )

  2. Remove all participants delete https://gate.whapi.cloud/groups/{GroupID} (method: https://whapi.readme.io/reference/removegroupparticipant )

  3. Delete the chat (optional, if you want it removed from your device) (method: https://whapi.readme.io/reference/)

Once all members have been removed and the administrator has left, the group is considered permanently deleted and cannot be restored.

Remove Participant Response
{
    "success": true,
    "processed": [
        "[email protected]",
        "[email protected]"
    ],
    "failed": []
}
Leave group Response
{
    "success": true
}

If you are a group member

  1. Get a group ID

  2. Leave the group

  3. Delete the chat (optional, if you want it removed from your device)

This only affects your account. The group will continue to exist for other members.

Last updated

Was this helpful?