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

# attributeValueDelete Mutation

Deletes a value of an attribute.

Requires one of the following permissions, depending on the type of the value's 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\_VALUE\_DELETED (async): An attribute value was deleted.
-   ATTRIBUTE\_UPDATED (async): An attribute was updated.

```graphql
attributeValueDelete(
  externalReference: String
  id: ID
): AttributeValueDelete
```

Details

```graphql
type AttributeValueDelete {
  attribute: Attribute
  attributeErrors: [AttributeError!]! @deprecated
  errors: [AttributeError!]!
  attributeValue: AttributeValue
}
```

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

### Arguments

<a id="external-reference"></a>

#### [`externalReference`](#external-reference) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

External ID of a value to delete.

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

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

ID of a value to delete.

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

### Type

<a id="attributevaluedelete"></a>

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

Deletes a value of an attribute.

Requires one of the following permissions, depending on the type of the value's 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\_VALUE\_DELETED (async): An attribute value was deleted.
-   ATTRIBUTE\_UPDATED (async): An attribute was updated.
