> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/attributes/llms.txt)
> Source: https://docs.saleor.io/api-reference/attributes/mutations/attribute-bulk-delete

# attributeBulkDelete Mutation

Deletes attributes.

Requires one of the following permissions, depending on the type of each attribute: MANAGE\_PRODUCT\_TYPES\_AND\_ATTRIBUTES for \`PRODUCT\_TYPE\` attributes MANAGE\_PAGE\_TYPES\_AND\_ATTRIBUTES for \`PAGE\_TYPE\` attributes MANAGE\_CUSTOMER\_TYPES\_AND\_ATTRIBUTES for \`CUSTOMER\_TYPE\` attributes

Triggers the following webhook events:

-   ATTRIBUTE\_DELETED (async): An attribute was deleted.

```graphql
attributeBulkDelete(
  ids: [ID!]!
): AttributeBulkDelete
```

Details

```graphql
type AttributeBulkDelete {
  count: Int!
  attributeErrors: [AttributeError!]! @deprecated
  errors: [AttributeError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="ids"></a>

#### [`ids`](#ids) ● [`[ID!]!`](/api-reference/miscellaneous/scalars/id.md)

List of attribute IDs to delete.

<a id="type"></a>

### Type

<a id="attributebulkdelete"></a>

#### [`AttributeBulkDelete`](/api-reference/attributes/objects/attribute-bulk-delete.md)

Deletes attributes.

Requires one of the following permissions, depending on the type of each attribute: MANAGE\_PRODUCT\_TYPES\_AND\_ATTRIBUTES for \`PRODUCT\_TYPE\` attributes MANAGE\_PAGE\_TYPES\_AND\_ATTRIBUTES for \`PAGE\_TYPE\` attributes MANAGE\_CUSTOMER\_TYPES\_AND\_ATTRIBUTES for \`CUSTOMER\_TYPE\` attributes

Triggers the following webhook events:

-   ATTRIBUTE\_DELETED (async): An attribute was deleted.
