cURL
curl --request POST \ --url https://your-sift-api-url.com/api/v1/rules:updateJson \ --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>" } }
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>
Show child attributes
A successful response.
Was this page helpful?