Lets you update the list of exceptions mapped to a container.
Parameter | Mandatory/Optional | Data Type | Description |
---|---|---|---|
containerId | Mandatory | string | Specify the UUID of the container. |
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/containers/5081c32c-2176-3445-82ec-7a68b9df22b6/exceptions"
-H "accept: application/json"
-H "Authorization: Bearer <token>"
-H "Content-Type: application/json"
-d "{ "exceptionEvent": "ASSIGN", "exceptionIds": [ "370eb9dc-bf72-4394-
bb39-6b25e1c87f3a" ] }"
Response
{
"ContainerUuid": "5081c32c-2176-3445-82ec-7a68b9df22b6"
}
Was this topic helpful?