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

Authorizations

x-api-key
string
header
required

API key for authentication

Body

application/json

Body

Request to bulk delete specific rules for a workflow

workflowId
string
required
ruleIds
string[]
required
Minimum array length: 1
reason
string
Required string length: 1 - 500

Response

200

Summary of bulk rule deletion operation with detailed results

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