Test Runs›Update Test Run By ID
Test Runs
Update Test Run By ID
Update Test Run By ID
curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/test-run/{test_run_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"id": "sample_id",
"title": "New name Test Run",
"objective": "Updated Discription",
"tags": [],
"is_auteur_generated": true,
"type": "Manual",
"test_run_instances": [
{
"test_case_id": "test_case_id",
"assignee": 2144228,
"priority": "Medium",
"name": "Execute API with User Details",
"serial_no": 1,
"environment_id": 1793,
"dataset_id": "dataset_id",
"dataset_version_id": "dataset_version_id",
"dataset_row_id": "dataset_row_id"
}
],
"project_id": "project_id"
}'
{
"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/jsonis_auteur_generatedboolean
Response
application/jsonOK
messagestring
Example: "Test Run updated successfully"
typestring
Example: "Success"
curl --request PUT \
--url "https://test-manager-api.lambdatest.com/api/v1/test-run/{test_run_id}" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"id": "sample_id",
"title": "New name Test Run",
"objective": "Updated Discription",
"tags": [],
"is_auteur_generated": true,
"type": "Manual",
"test_run_instances": [
{
"test_case_id": "test_case_id",
"assignee": 2144228,
"priority": "Medium",
"name": "Execute API with User Details",
"serial_no": 1,
"environment_id": 1793,
"dataset_id": "dataset_id",
"dataset_version_id": "dataset_version_id",
"dataset_row_id": "dataset_row_id"
}
],
"project_id": "project_id"
}'
{
"message": "Test Run updated successfully",
"type": "Success"
}