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"
}
Error Response
The following error response is seen when the sub-users don't have permission to the specified containerSha.
{
"errorCode": "403 FORBIDDEN",
"message": "Request Forbidden",
"timestamp": 1700721586546
}