cURL
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>" }
Batch update rules given the rules_json which is a JSON list of rules.
rules_json
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Deprecated - use UpdateJsonRulesRequest.
A successful response.
Deprecated - use UpdateJsonRulesResponse.
Was this page helpful?