Skip to content

Catalog Attribute — Mass Delete

Bulk-deletes a batch of user-defined attributes in a single mutation. Equivalent to POST /api/admin/catalog/attributes/mass-delete.

Operation

OperationTypePurpose
createAdminAttributeMassDeleteMutationDelete multiple user-defined attributes at once

Input

FieldTypeNotes
indices[Int!]!Attribute ids to delete

Notes

  • All-or-nothing. If any id is a system attribute, the whole batch fails with an errors[] entry System attributes cannot be deleted. — no row is touched.
  • Unknown ids are silently skipped — they do not appear in deleted.

Released under the MIT License.