Use this API to delete specified jobs using the job IDs.
Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
ids |
Mandatory |
string |
Specify the job IDs that you want to delete. |
API request
curl -X DELETE
"https://<QualysBaseURL>/pm/v1/deploymentjobs" -H "accept: application/json" -H "Authorization: Bearer <<jwt token>>" -H "Content-Type: application/json" -d "{\"ids\":[\"6020ba0f-5833-42d3-9721-2ca70570be4b\"]}"
Request Body - Specify the job IDs to delete deployment jobs
{
"ids": [
"string"
]
}
Response
[
{
"id": "6020ba0f-5833-42d3-9721-2ca70570be4b",
"name": "Patch Tuesday _3",
"status": "success"
}
]