Fileflare API

Pro tip - Build custom tools using this API

Use an AI app builder like Replit to unlock the ability to build your own tools and customisations using the Fileflare API.

Deleting assets

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

Warning:

  • If you have a custom S3 connected and enabled the option to delete files from S3 when deleted in the app, this function will delete files from your S3.
  • 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.