/api/2.0/fo/compliance/exception/?action=delete
[POST]
Delete one or more exceptions. This API is supported using PC.
Permissions - Click here for permissions info
Parameter |
Description |
action=delete |
(Required) |
echo_request={0|1} |
(Optional) Specify 1 to view (echo) input parameters in the XML output. By default these are not included. |
exception_numbers={value} |
(Required) Exception numbers you want to delete. Multiple entries are comma separated. An exception number range is specified with a hyphen (for example, 50-55).. |
API request
curl -u "USERNAME:PASSWD" -H "X-Requested-With: Curl" -X "POST" -d "action=delete&exception_numbers=40-41" "https://qualyapi.qualys.com/api/2.0/fo/compliance/exception/"
XML output
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE BATCH_RETURN SYSTEM "https://qualysapi.qualys.com/api/2.0/fo/compliance/exception/exception_batch_return.dtd">
<BATCH_RETURN>
<RESPONSE>
<DATETIME>2018-02-07T11:22:20Z</DATETIME>
<BATCH_LIST>
<BATCH>
<TEXT>Exception(s) deleted successfully</TEXT>
<NUMBER_SET>
<NUMBER_RANGE>40-41</NUMBER_RANGE>
</NUMBER_SET>
</BATCH>
</BATCH_LIST>
</RESPONSE>
</BATCH_RETURN>
<platform API server>/api/2.0/fo/compliance/exception/exception_batch_return.dtd