<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABGroup/removeSubgroup(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:objc(cs)ABGroup(im)removeSubgroup:"
  },
  "title" : "removeSubgroup(_:)"
}
-->

# removeSubgroup(_:)

Removes a subgroup from a group.

```
func removeSubgroup(_ group: ABGroup!) -> Bool
```

## Parameters

`group`

The subgroup to be removed.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if successful; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

If the `group` argument is not a subgroup, this method does nothing and returns <doc://com.apple.documentation/documentation/Swift/false>. If `group` is `nil`, this method raises an exception.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)