Skip to main content

AttributeDelete Object

Deletes an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

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

Fields

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

DEPRECATED

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

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

AttributeDelete.attribute ● Attribute object attributes

Returned By

attributeDelete mutation