Delete Customer Group (GraphQL)
Deletes a customer group. On success the deleted record is no longer addressable, so the adminCustomerGroup payload comes back null.
Guards
The delete is refused for system groups and for groups that still have customers attached. Permission: customers.groups.delete.
Menu overview
See the Customer Groups overview for what customer groups do and how they relate to the rest of the store.
Prerequisites
The example uses an illustrative id value. Replace it with the id of a customer group that exists in your store — use the adminCustomerGroups query to discover valid ids.

