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
Back to Top

Response

Supported Media Types

200 Response

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

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
Back to Top