Assets

Deleting assets

Delete is the same for both types of 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.

Previous
URL assets