API DocsRESTRule service

UpdateHumanFriendlyRules

Batch update rules given the `rules_json` which is a JSON list of rules.

POST
/api/v1/rules:updateHumanFriendly

Request Body

application/jsonRequired

Deprecated - use UpdateJsonRulesRequest.

assetId
Required
string

rulesJson
Required
string

organizationId
Required
string

curl -X POST "<API_URL>/api/v1/rules:updateHumanFriendly" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "assetId": "string",
    "rulesJson": "string",
    "organizationId": "string"
  }'

A successful response.

{
  "success": true,
  "rulesCount": 0,
  "messages": "string"
}