Cancel a running job

post

/services/rest/v1/jobs/{jobinstanceid}/cancel

Cancels a running report job.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Returns job cancelled status.
Body ()
Root Schema : schema
Back to Top

Examples

The following example shows how to cancel a job by submitting a POST request on the REST resource using cURL. You must specify the ID of the job you want to cancel.

curl -i \
     --header 'Authorization: Bearer <token>' \
     --header 'Content-Type: application/json' \
     --request POST 'https://hostname/xmlpserver/services/rest/v1/jobs/30775/cancel'

Example of the Response Body

* Connection #0 to host host.com left intact
::SCHD_JOB_CANCELLED::[INSTANCE_ID=bip.bi_server1]
Back to Top