Use the DELETE method to remove jobs from the scheduler. There are two forms to specify a single job or multiple jobs to delete.
Method | URL | ||
DELETE | http://<host>:<port>/jasperserver[-pro]/rest_v2/jobs/<jobID>/ | ||
Return Value on Success | Typical Return Values on Failure | ||
200 OK – The body contains the deleted job ID. | 404 Not Found – When the specified job is not found in the server. |
Method | URL | ||
DELETE | http://<host>:<port>/jasperserver[-pro]/rest_v2/jobs?<arguments> | ||
Argument | Type/Value | Description | |
id | Multiple String | Enter as many job IDs as you want to delete, for example: ?id=5594&id=5645&id=5761 | |
Options | |||
accept: application/xml accept: application/json | |||
Return Value on Success | Typical Return Values on Failure | ||
200 OK – The content is a list of deleted jobs. |
|
The list of deleted jobs in the response has the following structure:
Recommended Comments
There are no comments to display.