Skip to main content
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

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

PUT https://api-automation.browserstack.com/ext/v1/quality-gates/{normalized project name}/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.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Download Copy Check Circle