Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Batch Job Cancel

Cancel a batch job of type data processing engine (calc job) and batch management. A batch job with only the status Submitted or In Progress can be canceled.
Special Access Rules
To know the permissions needed to access this resource, See User Permissions for Data Processing Engine or User Permissions for Batch Management.
Resource
1/connect/batch-job/batchJobId/cancel-job
Resource example
1/connect/batch-job/0mdxx00000000fxAAA/cancel-job
Available version
52.0
Requires Chatter
No
HTTP methods
POST

POST doesn’t take request parameters or a request body.

Note

Response body for POST
Returns HTTP 201 on success.
See Batch Job Cancel Output for HTTP code descriptions that are unique to this resource in case of failure of the batch job cancel request.