Update scan schedule



Update scan schedule in the user's account.  

During an update request you must specify target_from=assets when fqdn is specified in the same request. This is true for vulnerability scans and CertView type vulnerability scans. When fqdn is not specified during an update request for a scheduled scan that already has fqdn defined, we will keep the existing value.

Input Parameters






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


(Required) ID of schedule you want to update.

{scan parameters}

Click here to view scan parameters

{scan schedule parameters}

Click here to view scan schedule parameters

Sample - Update scan schedule Pause after 15 minutes

API request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" -X "POST" -d "action=update&id=146754&pause_after_hours=0&pause_after_mins=15&resume_in_days=5&resume_in_hours=5" "https://qualysapi.qualys.com/api/2.0/fo/schedule/scan/"


XML output

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

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




    <TEXT>Edit scheduled Scan Completed successfully</TEXT>










<platform API server>/api/2.0/simple_return.dtd