Build › Update Build Name or Status
Build
Update Build Name or Status To change build name or status
Update Build Name or Status curl -- request PATCH \
-- url "https://api.lambdatest.com/automation/api/v1/builds/{build_id}" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "<name>" ,
"status" : "<status>"
} '
{
"message" : "Build updated successfully" ,
"status" : "success" ,
"data" : {
"result" : "1"
}
}
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 build_id string required
build id that name need to be changed.
Body application/json You can update either name or status or both of a build in single request.
Response 200▼
application/json successful operation
data object
▶ Hide child attributesdata. result string
Example: "1"
Update Build Name or Status curl -- request PATCH \
-- url "https://api.lambdatest.com/automation/api/v1/builds/{build_id}" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "<name>" ,
"status" : "<status>"
} '
{
"message" : "Build updated successfully" ,
"status" : "success" ,
"data" : {
"result" : "1"
}
}