Attribute Family — Delete (GraphQL)
Deletes an attribute family. The id argument is the family IRI (/api/admin/catalog/families/{id}). The mutation returns a snapshot of the deleted family.
Two rules block the delete: the store must always keep at least one family, and a family that any product still belongs to cannot be removed. Reassign or remove those products first.
TIP
See the Attribute Families overview for how families relate to attributes and products.
| Condition | Message |
|---|---|
| Family is the last one in the store | At least one attribute family is required. |
| One or more products still use the family | Cannot delete — attribute family is in use by N product(s). |
| Unknown id | Attribute family not found. |
All admin operations require an admin Bearer token — see Authentication.

