Skip to main content
user-filesDownload user file from lambda storage.
TestMu AI
StatusCommunityBlog
user-files

Download user file from lambda storage.

Download user file from lambda storage.

PUT
/user-files/download
Download user file from lambda storage.
curl --request PUT \
--url "https://api.lambdatest.com/automation/api/v1/user-files/download" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"key": "<key>"
}'
{
"message": "Error in downloading file from lambda storage",
"status": "fail"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

To download a user file

keystringrequired

Response

application/json

Successful operation

Download user file from lambda storage.
curl --request PUT \
--url "https://api.lambdatest.com/automation/api/v1/user-files/download" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"key": "<key>"
}'
{
"message": "Error in downloading file from lambda storage",
"status": "fail"
}