Skip to main content
POST
/
api
/
v1
/
rules:validateJson
ValidateJsonRules
curl --request POST \
  --url https://your-sift-api-url.com/api/v1/rules:validateJson \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "request": {
    "assetId": "<string>",
    "rulesJson": "<string>",
    "organizationId": "<string>"
  }
}'
{
  "response": {
    "success": true,
    "totalRulesCount": 123,
    "rulesCreatedCount": 123,
    "rulesUpdatedCount": 123,
    "rulesDeletedCount": 123,
    "errorMessages": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
request
object
required

Response

A successful response.

response
object
required