Skip to main content
Version: 3.x

AttributeDelete

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

DEPRECATED

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

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

AttributeDelete.attribute ● Attribute object

Returned by

attributeDelete mutation


Was this page helpful?