Skip to main content
POST
/
api
/
v1
/
rules:updateHumanFriendly
UpdateHumanFriendlyRules
curl --request POST \
  --url https://your-sift-api-url.com/api/v1/rules:updateHumanFriendly \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assetId": "<string>",
  "rulesJson": "<string>",
  "organizationId": "<string>"
}'
{
  "success": true,
  "rulesCount": 123,
  "messages": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Deprecated - use UpdateJsonRulesRequest.

assetId
string
required
rulesJson
string
required
organizationId
string
required

Response

A successful response.

Deprecated - use UpdateJsonRulesResponse.

success
boolean
required
rulesCount
integer
required
messages
string
required