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

ParameterDetails

f

The response format.

Values: html | json | pjson

Example usage

The following is an example POST request for cancelling a run:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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=pjson

HTTP Response example

Use dark colors for code blocksCopy
1
2
HTTP/1.1 202 Accepted
Content-Length: 0

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.