Skip to main content
POST
/
v4
/
data-validation
/
rules
/
actions
/
bulk-approve
cURL
curl --request POST \
  --url https://api.kadoa.com/v4/data-validation/rules/actions/bulk-approve \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "workflowId": "<string>",
  "ruleIds": [
    "<string>"
  ]
}
'
{
  "error": false,
  "message": "<string>",
  "data": {
    "approvedCount": 123,
    "skippedCount": 123,
    "workflowId": "<string>",
    "approvedRuleIds": [
      "<string>"
    ],
    "skippedRuleIds": [
      "<string>"
    ]
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication

Body

application/json

Body

Request to bulk approve specific preview rules for a workflow

workflowId
string
required
ruleIds
string[]
required
Minimum array length: 1

Response

200

Summary of bulk rule approval operation with detailed results

error
enum<boolean>
required
Available options:
true,
false
message
string
required
data
object
required