Skip to main content

attributeBulkDelete Mutation

Deletes attributes.

Requires the MANAGE_PAGE_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

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

Arguments

ids ● [ID!]!

List of attribute IDs to delete.

Type

AttributeBulkDelete

Deletes attributes.

Requires the MANAGE_PAGE_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_DELETED (async): An attribute was deleted.