Permanently delete a trashed file
DELETE/api/v1/buckets/:bucketId/files/:fileId
Requires contributor role or above on this bucket. The file must already be in trash; this removes it from storage and the database.
Request
Responses
- 204
- 401
- 403
- 404
- 409
File permanently deleted
Not authenticated. Note: a missing or invalid token is rejected with 403 FORBIDDEN (not 401); 401 is returned when the token's session has been revoked (SESSION_REVOKED).
Missing/invalid token, or the caller's role/group is below the required minimum (FORBIDDEN)
File not found (FILE_NOT_FOUND)
File is not in trash (FILE_NOT_IN_TRASH)