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 use this resource, the following permissions are required:
  • Your org must have the Batch Management and Data Processing Engine licenses
  • Users in your org require System Administration profile
Resource
/connect/batch-job/batchJobId/cancel-job
Resource example
/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.