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
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
build_idstringrequired
build id that name need to be changed.
Body
application/jsonYou can update either name or status or both of a build in single request.
Response
application/jsonsuccessful operation
dataobject
data.resultstring
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"
}
}