Posts the DataDetect policy scan for execution.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer editions with the Salesforce Shield or Data Detect Licenses. |
Example JSON Request Body policy.json File
curl https://MyDomainName.my.salesforce.com/services/data/v66.0/datadetect/policies -H "Authorization: Bearer token" -H "Content-Type: application/json" -d @policy.json -X POST
Example REQUEST BODY
JSON request body policy.json file
{
"policyId": "1Doxx0000004C92"
}
Example RESPONSE BODY
[ { "jobSessionId": "1EExx0000004C92" }