Suspend or pause a scheduled job
post
/services/rest/v1/jobs/{jobid}/suspend
Suspends or pauses a report job in the scheduler queue.
Request
Path Parameters
-
jobid(required): string
The job Id to be paused/suspended
Response
Supported Media Types
- application/text
200 Response
Returns paused status.
Root Schema : schema
Examples
The following example shows how to suspend or pause a job by submitting a POST request on the REST resource using cURL. You must specify the ID of the job you want to suspend or pause.
curl -i \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--request POST 'https://hostname/xmlpserver/services/rest/v1/jobs/30775/suspend'
Example of the Response Body
* Connection #0 to host host.com left intact