- URL:
- https://<root>/services/datapipelines/runs/<run id>/cancel
- Methods:
POST- Version Introduced:
- 12.2
Description
The cancel operation requests cancellation of a specific data pipeline run.
When accepted, the service returns an HTTP 202 Accepted response and continues processing the cancellation asynchronously.
You can check the status of a run using the Run endpoint.
Request parameters
| Parameter | Details |
|---|---|
| The response format. Values: |
Example usage
The following is an example POST request for cancelling a run:
POST /<context>/rest/services/datapipelines/runs/1a2b3c4d5e6f7g8h9i/cancel HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=pjsonHTTP Response example
HTTP/1.1 202 Accepted
Content-Length: 0