> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mercurjs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Product Attribute

> Delete a catalog product attribute.

Deletes the attribute and its values.

## Path parameters

**id** `string` *required*

The attribute's ID.

## Response

**id** `string`

The deleted attribute's ID.

**object** `string`

Always `product_attribute`.

**deleted** `boolean`

Always `true`.

```bash cURL theme={null}
curl -X DELETE 'http://localhost:9000/admin/product-attributes/pattr_01HXYZABCDEF' \
  -H 'Authorization: Bearer <token>'
```

```ts JS Client theme={null}
const result = await client.admin.productAttributes.$id.delete({
  $id: "pattr_01HXYZABCDEF",
})
```

```json 200 theme={null}
{
  "id": "pattr_01HXYZABCDEF",
  "object": "product_attribute",
  "deleted": true
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.