The object path=[/<path>/groups/<Segment Name>] cannot be deleted as either it has children or it is being referenced by other objects path=[/<path>/groups/<Group Name>]NSX prevents the deletion of objects that are currently in use by other policy configurations to maintain referential integrity. The "path=" section of the error message identifies the specific consumer (Group, Firewall Rule, Service Profile, etc.) that is blocking the deletion.
Record the blocking object path from the error message (e.g., /infra/domains/default/groups/coc_overlay_segments).
Log in to the UI of the Local NSX Manager (or site) where the error is identified in the Alarm's "Locations"
Navigate to the location of the blocking object. Examples:
If the path contains /groups/, go to Inventory > Groups.
If the path contains /distributed-firewall/, go to Security > Distributed Firewall.
Edit the blocking object and remove the segment (or target object) from its membership criteria or static members.
Save the changes.
The original deletion task will automatically resume once the reference count reaches zero.
If the alarm specifies the object "has children," check for:
Logical Ports: Ensure no VMs or containers are connected to the segment.
Profiles: Ensure no segment profiles are uniquely bound to the object.