logo

Fileflare API

Deleting assets

This delete function is the same for both types of assets – Files and URL Assets.

Warning:

Deleting an asset will remove it from all linked products and orders.


Delete asset

To delete an asset, send a DELETE request with the ID of the asset in the URL to:

https://app.digital-downloads.com/api/v1/assets/:id

Example

https://app.digital-downloads.com/api/v1/assets/82664d96-6dfd-4343-96b0-05c46f412a5b

Response

You will receive a 202 response code.


Deleting all assets

To delete all assets, send a POST request to the below URL.

Note: This will be processed in the background. If you have many assets, then this might take some time.

https://app.digital-downloads.com/api/v1/assets/deleted-all

Response

You will receive a 202 response code.