Update Customer Group (GraphQL)
Updates a customer group. Send only the fields you want to change.
System groups
System groups (isUserDefined: 0) only allow name updates; changing code or the system flag returns errors[]. Permission: customers.groups.edit.
See the Customer Groups overview for what customer groups do and how they relate to the rest of the store.
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.

