Remove a staged file
DELETE/deposit/:id/file/:fileId
Optional core — provided when deposit.supported is true. See the Deposits guide.
Remove a file staged in this deposit. Valid while the deposit is open. This only affects the deposit's staging area — to drop a file from an existing RO-Crate, stage a metadata document that no longer references it.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- 429
- 500
Staged file removed
Not authenticated
Access token does not have the required scope
Deposit or staged file not found
Conflict - the deposit is not in the open state
Rate limit exceeded
Response Headers
X-RateLimit-Limit
Request limit per time window
X-RateLimit-Remaining
Requests remaining in current time window
X-RateLimit-Reset
Unix timestamp when the rate limit resets
Retry-After
Number of seconds to wait before retrying
Internal Server Error