> ## Documentation Index
> Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Group

> Permanently delete a CometChat group by GUID with the Android SDK using the admin-only deleteGroup method.

> [accordion] AI Integration Quick Reference
>
> ```kotlin theme={null}
> // Delete a group (admin only)
> CometChat.deleteGroup("GUID", object : CometChat.CallbackListener<String>() {
>     override fun onSuccess(message: String) { }
>     override fun onError(e: CometChatException) { }
> })
> ```
>
> **Note:** Only group admins can delete groups. This action is permanent and cannot be undone.

## Delete Group

Use `deleteGroup()` to permanently delete a group. Only group **Admins** can delete groups.

> [tab] Java
>
> ```java theme={null}
> private String GUID = "GUID";
>
> CometChat.deleteGroup(GUID, new CometChat.CallbackListener<String>() {
>   @Override
>   public void onSuccess(String successMessage) {
>     Log.d(TAG, "Group deleted successfully: ");
>   }
>
>   @Override
>   public void onError(CometChatException e) {
>     Log.d(TAG, "Group delete failed with exception: " + e.getMessage());
>   }
> });
> ```

> [tab] Kotlin
>
> ```kotlin theme={null}
> val GUID:String="GUID"
>
> CometChat.deleteGroup(GUID,object :CometChat.CallbackListener<String>(){
>   override fun onSuccess(p0: String?) {
>     Log.d(TAG, "Groups deleted successfully: ")
>   }
>
>   override fun onError(p0: CometChatException?) {
>     Log.d(TAG, "Group delete failed with exception: " +p0?.message)
>   }
> })
> ```

The `deleteGroup()` method takes the following parameters:

| Parameter | Description |
| - | - |
| `GUID` | The GUID of the group you want to delete |

***

## Next Steps

> [card] [Leave Group](https://www.cometchat.com/docs/sdk/android/v4/leave-group.md)
>
> Leave groups without deleting them

> [card] [Update Group](https://www.cometchat.com/docs/sdk/android/v4/update-group.md)
>
> Modify group details instead of deleting

> [card] [Transfer Ownership](https://www.cometchat.com/docs/sdk/android/v4/transfer-group-ownership.md)
>
> Transfer admin rights to another member

> [card] [Create Group](https://www.cometchat.com/docs/sdk/android/v4/create-group.md)
>
> Create a new group


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.