Skip to main content
No Result Found
Connect & Get help from fellow developers on our Discord community. Ask the CommunityAsk the Community

Update Quality Gate Profile settings API in Test Reporting & Analytics

Use this API to update the Quality Gate Profile settings programmatically.

To learn more about Quality Gate, read further here..

Update Quality Gate Profile settings

PUT https://api-automation.browserstack.com/ext/v1/quality-gates/{normalized project name}/profiles/{profile uuid}/toggle

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}/profiles/{profile uuid}/toggle
  • enabled* Boolean

    Set to true to enable the Quality Gate profile, or false to disable it.

Response Attributes 200 OK JSON

Response

{
    "message": "Updated"
}
  • message String

    Informs whether the Quality Gate profile 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