<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABGroupRemoveGroup(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:@F@ABGroupRemoveGroup"
  },
  "title" : "ABGroupRemoveGroup(_:_:)"
}
-->

# ABGroupRemoveGroup(_:_:)

Removes a subgroup from a group.

```
func ABGroupRemoveGroup(_ group: ABGroupRef!, _ groupToRemove: ABGroupRef!) -> Bool
```

## Parameters

`group`

If `NULL`, this function raises an exception.

`groupToRemove`

The subgroup to be removed from `group`.

## Return Value

`true` ifsuccessful. If the `group` parameteris not a subgroup, this function does nothing and returns `false`.

## Discussion

---

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)