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

# productAttributeUnassign Mutation

Un-assign attributes from a given product type.

Requires the MANAGE\_PRODUCT\_TYPES\_AND\_ATTRIBUTES permission.

```graphql
productAttributeUnassign(
  attributeIds: [ID!]!
  productTypeId: ID!
): ProductAttributeUnassign
```

Details

```graphql
type ProductAttributeUnassign {
  productType: ProductType
  productErrors: [ProductError!]! @deprecated
  errors: [ProductError!]!
}
```

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

### Arguments

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

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

The IDs of the attributes to unassign.

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

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

ID of the product type from which the attributes should be unassigned.

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

### Type

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

#### [`ProductAttributeUnassign`](/api-reference/products/objects/product-attribute-unassign.md)

Un-assign attributes from a given product type.

Requires the MANAGE\_PRODUCT\_TYPES\_AND\_ATTRIBUTES permission.
