> ## 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 Asset

> Permanently delete an asset and remove it from all digital products.

## Path parameters

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

## Response

Returns `204 No Content` on success. This action is permanent and cannot be undone.

<Note>
  Deleting an asset removes it from all digital products it was linked to. Existing
  orders that have already been fulfilled are not affected — customers who have
  already purchased will retain their download access.
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE 'https://app.filemonk.io/api/v1/external/assets/a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
    -H 'X-Auth-Token: fm_api_key_your_key_here'
  ```

  ```javascript Node.js theme={null}
  const assetId = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890';
  await fetch(
    `https://app.filemonk.io/api/v1/external/assets/${assetId}`,
    {
      method: 'DELETE',
      headers: { 'X-Auth-Token': 'fm_api_key_your_key_here' }
    }
  );
  ```

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

  asset_id = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'
  requests.delete(
      f'https://app.filemonk.io/api/v1/external/assets/{asset_id}',
      headers={'X-Auth-Token': 'fm_api_key_your_key_here'}
  )
  ```
</RequestExample>

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