v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Test Optimization

Update flaky test states

Update the state of multiple flaky tests in Flaky Test Management.

patch/api/v2/test/flaky-test-management/tests

Request body

Example request

{
  "data": {
    "attributes": {
      "tests": [
        {
          "id": "4eb1887a8adb1847",
          "new_state": "active"
        }
      ]
    },
    "type": "update_flaky_test_state_request"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "has_errors": true,
      "results": [
        {
          "id": "4eb1887a8adb1847"
        }
      ]
    }
  }
}