Skip to main content

AttributeBulkDelete

Deletes attributes.

Requires MANAGE_PAGE_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_DELETED (async): An attribute was deleted.
type AttributeBulkDelete {
count: Int!
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
}

Fields

AttributeBulkDelete.count ● Int! non-null scalar miscellaneous

Returns how many objects were affected.

AttributeBulkDelete.attributeErrors ● [AttributeError!]! deprecated non-null object attributes

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

AttributeBulkDelete.errors ● [AttributeError!]! non-null object attributes

Returned By

attributeBulkDelete mutation