5e35babfb8d2
Remove a file from an in-progress dataset version
This action only works on an in-progress dataset (this means that the latest version of a dataset associated with this file has to be in-progress). It will destroy the metadata and file if it's a staged file that hasn't been submitted to the repository yet. If the file was submitted previously in an earlier version of the same dataset it will stage removal from the in-progress dataset version. In order to finalize staged file changes into the storage repository, the in-progress dataset must be submitted again after all changes are ready.
Path parameters
The file ID is a unique integer and can be obtained from the list of files for a version of a dataset.
Response
The file and metadata was removed from staging. Or the file and metadata was staged for removal from this version.