Update Quality Gate settings API in Test Reporting & Analytics
Use this API to update the Quality Gate settings programmatically.
To learn more about Quality Gate, read further here..
Update Quality Gate settings
Request parameters
Request
curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
-X PUT \
-H "Content-Type: application/json" \
--data '{"enabled": true}' \
https://api-automation.browserstack.com/ext/v1/quality-gates/{normalized project name}/settings
-
enabled* Boolean
Set to true to enable the Quality Gate, or false to disable it.
Response Attributes 200 OK
JSON
Response
{
"message": "Updated"
}
-
message String
Informs whether the Quality Gate settings were updated successfully.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.