Implement DestroyExport
Refs https://redmine.teklia.com/issues/5668
An API user should be able to delete a Corpus Export by using the endpoint DestroyExport
with a specific corpus export ID.
Access limitations are:
- the user has contributor access on the corpus and is the creator of the corpus export
- the user has admin access on the corpus
The backend only needs to delete the CorpusExport
instance in database, the remotely stored file will be automatically deleted by the daily cleanup.