Skip to main content
DELETE
/
assets
/
{id}
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'
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' }
  }
);
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'}
)
{
  "error": "Asset not found"
}

Path parameters

id
string
required
The asset’s unique identifier (UUID).

Response

Returns 204 No Content on success. This action is permanent and cannot be undone.
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.
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'
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' }
  }
);
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'}
)
{
  "error": "Asset not found"
}