Loading
Prepare for Email to Become the Default Login ExperienceRead More
Set Up and Maintain Your Salesforce Organization
Scan a Data Detect Policy

Scan a Data Detect Policy

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
Example REQUEST BODY
JSON request body policy.json file
{
     "policyId": "1Doxx0000004C92"
}
Example
Example RESPONSE BODY
[ { "jobSessionId": "1EExx0000004C92" }
  • Stop a Running Scan
    Stop a scan before it finishes to run a different scan or edit the policy settings and run the updated scan policy.
 
Loading
Salesforce Help | Article