Loading
Ongoing maintenance for Salesforce HelpRead More
Set Up and Maintain Your Salesforce Organization
Stop a Running Scan

Stop a Running Scan

Stops the specified scan.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer editions with the Salesforce Shield or Data Detect Licenses.

Example

curl  https://MyDomainName.my.salesforce.com/services/data/v68.0/datadetect/policies/jobsession/stopscan -H "Authorization: Bearer token"  -H "Content-Type: application/json" -d @policy.json -X POST

Request Body Schema

jobSessionId string required ID of the job session of the scan to stop
Example
Example REQUEST BODY

{
     "jobSessionId": "0YYxx0000000001AAA"
}
Example
Example 200 RESPONSE BODY
{
  "stopped": true
}
 
Loading
Salesforce Help | Article