Important:

This API is designed for experienced developers only and is provided as a self-service tool with minimal support.

Fileflare API

Eliminazione delle attività

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

Attenzione:

  • 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 all of your files from your S3.
  • L'eliminazione di un bene lo rimuove da tutti i prodotti e gli ordini collegati.

Elimina attività

Per eliminare una risorsa, inviare una richiesta DELETE con l'ID della risorsa nell'URL a:

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

Esempio

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

Risposta

Riceverete un codice di risposta 202.


Eliminazione di tutte le attività

Per eliminare tutte le risorse, inviare una richiesta POST al seguente URL.

Nota: l'elaborazione avverrà in background. Se si dispone di molte risorse, l'operazione potrebbe richiedere del tempo.

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

Risposta

Riceverete un codice di risposta 202.