> For the complete documentation index, see [llms.txt](https://cramiumlabs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cramiumlabs.gitbook.io/docs/sdk-mpc-ios/usage-guide-for-an-mpc-wallet-app/delete-mpc-group.md).

# Delete MPC Group

To delete an MPC group, use the `deleteGroup()` method with the following attribute: - `keyGenGroupID` : the keygen Group ID of master wallet

**Example**:

```swift

    func main() {
        let req = DeleteGroupRequest(groupID: "keyGenGroupID")
    
        // Initialize the MPC client
        let client = MPCClient()
        
        // Delete the MPC group
        client.deleteGroup(req))
    }
```
