Attribute Family — Delete
Deletes an attribute family. Equivalent to DELETE /api/admin/catalog/families/{id}.
Prerequisites
The example uses an illustrative id value. Replace it with the id of a attribute family that exists in your store — use the adminAttributeFamilies query to discover valid ids.
Operation
| Operation | Type | Purpose |
|---|---|---|
deleteAdminAttributeFamily | Mutation | Delete an attribute family |
Errors
| 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. |

