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

# Delete Digital Product

> Delete a digital product and unlink its assets from the Shopify product.

## Path parameters

<ParamField path="id" type="string" required>
  The digital product's unique identifier (UUID).
</ParamField>

## Response

Returns `204 No Content` on success.

<Note>
  Deleting a digital product removes the link between the Shopify product and its assets.
  The assets themselves are **not** deleted — they remain in your store and can be linked
  to other products. Existing orders that have already been fulfilled are not affected.
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE 'https://app.filemonk.io/api/v1/external/digital_products/b2c3d4e5-f6a7-8901-bcde-f12345678901' \
    -H 'X-Auth-Token: fm_api_key_your_key_here'
  ```

  ```javascript Node.js theme={null}
  const productId = 'b2c3d4e5-f6a7-8901-bcde-f12345678901';
  await fetch(
    `https://app.filemonk.io/api/v1/external/digital_products/${productId}`,
    {
      method: 'DELETE',
      headers: { 'X-Auth-Token': 'fm_api_key_your_key_here' }
    }
  );
  ```

  ```python Python theme={null}
  import requests

  product_id = 'b2c3d4e5-f6a7-8901-bcde-f12345678901'
  requests.delete(
      f'https://app.filemonk.io/api/v1/external/digital_products/{product_id}',
      headers={'X-Auth-Token': 'fm_api_key_your_key_here'}
  )
  ```
</RequestExample>

<ResponseExample>
  ```json 404 theme={null}
  {
    "error": "Digital product not found"
  }
  ```
</ResponseExample>
