Lets you update the list of exceptions mapped to an image.
Parameter | Mandatory/Optional | Data Type | Description |
---|---|---|---|
imageId | Mandatory | string | Specify the UUID of the image. |
exceptionEvent | Mandatory | string | Specify whether to add or remove exceptions. The valid values are: ASSIGN and DEASSIGN. |
exceptionIds | Mandatory | string | Specify the UUIDs of exceptions to be added or removed. |
API Request
curl -X "PUT"
"<qualys_base_url>/csapi/v1.3/images/9baf9f85-f3bf-3259-b8d5-3cd51967d34a/exceptions"
-H "accept: application/json"
-H "Authorization: Bearer <token>’
-H "Content-Type: application/json"
-d "{
"exceptionEvent": "ASSIGN",
"exceptionIds": [
"c0b4ec8d-a186-4f2c-9a6d-3adc3dfb3cff"
]
}"
Response
{
"imageUuid": "9baf9f85-f3bf-3259-b8d5-3cd51967d34a"
}
Was this topic helpful?