Delete a file
DELETE/files/:fileKey
Soft-deletes the file with the given file key. The file is moved to the recently deleted state and can be recovered until the retention period expires and the scheduled cleanup job runs. To permanently and irreversibly remove a file, use DELETE /files/{fileKey}/permanent instead.
Request
Responses
- 204
- 401
- 403
- 404
- 500
The file was deleted successfully.
The request lacks valid authentication credentials.
Response Headers
WWW-Authenticate
Forbidden. The request is not allowed.
The requested resource was not found.
An internal error occurred while processing the request.