Update Exceptions Associated with a Container

Lets you update the list of exceptions mapped to a container.

PUT/csapi/v1.3//containers/{containerId}/exceptions

Input ParametersInput Parameters

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.

Sample: Update Exceptions Mapped to a ContainerSample: Update Exceptions Mapped to a Container

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?

success Thank you! We're glad to hear that this topic was useful.
success We appreciate your feedback. We'll work to make this topic better for you in the future.