Cancel a running job
post
/services/rest/v1/jobs/{jobinstanceid}/cancel
Cancels a running report job.
Request
Path Parameters
-
jobinstanceid(required): string
The ID of the job instance to be cancelled.
Response
Supported Media Types
- application/text
200 Response
Returns job cancelled status.
Root Schema : schema
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]