Download an encrypted file
GET/api/v1/EncryptedFile/Download
Returns the decrypted content of the file with the given ID as a file download. The download is recorded as an event that names the user and the file.
Permission required: Admin role (or the App role).
Caution: The response is the file in clear text, which can contain sensitive values.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The body is the file content, sent with the file's name and content type.
The download failed. The body is an error message.
The caller is not signed in.
The signed-in user does not have the required role.
No file has this ID.