Delete Asset Jobs API
Use this API to delete asset jobs with the MANIFEST_EXPIRED and MANIFEST_ASSIGNMENT_FAILED statuses.
Input ParametersInput Parameters
| Parameter | Mandatory/Optional | Data Type | Description |
|---|---|---|---|
| ids | Mandatory | List | Provide the list of asset job IDs. |
| user | Optional | String | Provide the details of a user such as ID or name. |
| id | Optional | String | Provide the ID of the user. |
| name | Optional | String | Provide the name of the user. |
API Request
curl -X POST
'<qualys_base_url>/sm/v1/assetjobs/delete'
--header 'Content-Type: application/json'
--header 'Authorization: <Bearer Token> '
--data
'{
"ids": [1000007,1000009],
"user": {
"id": "bfd96a2f-854b-f8fd-8005-69374a3cd2b3",
"name": "name of user"
}
}'
Response
{
"body": {
"success": {
"ids": [
1000007
],
"message": "Ids are processed"
},
"failure": {
"ids": [
1000009
],
"message": "Ids are Invalid"
}
}
}