Delete a job history
delete
/services/rest/v1/jobs/{jobinstanceid}/history
Deletes the history of a report job.
Request
Path Parameters
-
jobinstanceid(required): string
The ID of the job instance for which the job history has to be deleted.
Response
Supported Media Types
- application/text
200 Response
Returns job history deleted status.
Root Schema : schema
Examples
The following example shows how to delete a job history by submitting a DELETE request on the REST resource using cURL. You must specify the ID of the job you want to delete the job history.
curl -i \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--request DELETE 'https://hostname/xmlpserver/services/rest/v1/jobs/30775/history'
Example of the Response Body
The following example shows the contents of the response body in JSON format:
* Connection #0 to host host.com left intact