Delete a compliance scan schedule

/api/2.0/fo/schedule/scan/compliance/?action=delete&id=<id>

[POST]

Delete compliance scan schedule in the user's account.

Input Parameters

Parameter

Description

action=delete

(Required)

id={value}

(Required) ID of schedule you want to delete.

echo_request={0|1}

(Optional) Specify 1 to view (echo) input parameters in the XML output. By default these are not included.

Sample - Delete scan schedule

API request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl"

"https://qualysapi.qualys.com/api/2.0/fo/schedule/scan/compliance/?action=delete&id=57360"

XML output

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE SIMPLE_RETURN SYSTEM "https://qualysapi.qualys.com/api/2.0/simple_return.dtd">

<SIMPLE_RETURN>

    <RESPONSE>

        <DATETIME>2019-11-19T12:10:45Z</DATETIME>

        <TEXT>Schedule scan deleted successfully</TEXT>

        <ITEM_LIST>

            <ITEM>

                <KEY>ID</KEY>

                <VALUE>57360</VALUE>

            </ITEM>

        </ITEM_LIST>

    </RESPONSE>

</SIMPLE_RETURN>