Session › Update test session details.
Session
Update test session details. To update the test session name, status {"passed","failed","skipped", "ignored", "unknown", "error"}, reason, test tags.
Update test session details. curl -- request PATCH \
-- url "https://api.lambdatest.com/automation/api/v1/sessions/{session_id}" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "<name>" ,
"status_ind" : "<status_ind>" ,
"reason" : "<reason>" ,
"custom_data" : "<custom_data>" ,
"tags" : [ ]
} '
{
"message" : "Session updated successfully" ,
"status" : "success"
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters session_id string required
Session ID
Body application/json You can update name, status, test tags of a session in single request.
Response 200▼
application/json successful operation.
Update test session details. curl -- request PATCH \
-- url "https://api.lambdatest.com/automation/api/v1/sessions/{session_id}" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "<name>" ,
"status_ind" : "<status_ind>" ,
"reason" : "<reason>" ,
"custom_data" : "<custom_data>" ,
"tags" : [ ]
} '
{
"message" : "Session updated successfully" ,
"status" : "success"
}