For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content
Test RunsArchive Test Run By ID
TestMu AI
StatusCommunityBlog
Test Runs

Archive Test Run By ID

Archive Test Run By ID

PUT
/api/v1/test-run/archive/{test_run_id}
Archive Test Run By ID
curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/test-run/archive/{test_run_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"build_state": "archived"
}'
{
"message": "Test Run updated successfully",
"type": "Success"
}

Authorizations

Authorizationstringheaderrequired

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

Path Parameters

test_run_idstringrequired

Body

application/json
build_statestring

Response

application/json

OK

messagestring
Example: "Test Run updated successfully"
typestring
Example: "Success"
Archive Test Run By ID
curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/test-run/archive/{test_run_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"build_state": "archived"
}'
{
"message": "Test Run updated successfully",
"type": "Success"
}