Skip to main content
PATCH
/
api
/
v1
/
workflows
/
workflow-tests
/
{workflow_test_id}
Update Workflow Test Failure Policy
curl --request PATCH \
  --url https://backend.revyl.ai/api/v1/workflows/workflow-tests/{workflow_test_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "failure_policy": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_test_id
string
required

Body

application/json
failure_policy
string
required

Response

Successful Response