PUT
/
v4
/
data-validation
/
workflows
/
{workflowId}
/
validation
/
toggle
Toggle data validation for a workflow
curl --request PUT \
  --url https://api.kadoa.com/v4/data-validation/workflows/{workflowId}/validation/toggle \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "enabled": true
}'
{
  "error": true,
  "message": "<string>",
  "workflowId": "<string>",
  "enabled": true
}

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

workflowId
string
required

The workflow ID to update validation settings for

Body

application/json

Body

enabled
boolean
required

Whether to enable or disable data validation for the workflow

Response

200

error
boolean
required

Whether an error occurred

message
string
required

Success message indicating the action performed

workflowId
string
required

The workflow ID that was updated

enabled
boolean
required

The new validation status for the workflow