Delete scan schedule in the user's account.
Parameter |
Required/Optional |
Data Type |
Description |
---|---|---|---|
action=delete |
Required |
String |
Specify action to delete scan schedule. |
echo_request={0|1} |
Optional |
Integer |
Specify 1 to view (echo) input parameters in the XML output. By default these are not included. |
id={value} |
Required |
Integer |
ID of schedule you want to delete. |
API Request
curl -u "USERNAME:PASSWD" -H "X-Requested-With: curl" -X "POST" -d "id=123456""https://<qualys_base_url>/api/2.0/fo/schedule/scan/?action=delete"
XML Output
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE SIMPLE_RETURN SYSTEM
"https://<qualys_base_url>/api/2.0/simple_return.dtd">
<SIMPLE_RETURN>
<RESPONSE>
<DATETIME>2018-05-30T21:32:40Z</DATETIME>
<TEXT>Schedule scan deleted successfully</TEXT>
<ITEM_LIST>
<ITEM>
<KEY>ID</KEY>
<VALUE>123456</VALUE>
</ITEM>
</ITEM_LIST>
</RESPONSE>
</SIMPLE_RETURN>
<platform API server>/api/2.0/simple_return.dtd