For API version information, refer to the API Version History section.
Update a scan report template in the user's account.
Click here to view parameters for updating scan templates.
API Request
curl -u "USERNAME:PASSWORD" -H "X-Requested-With:curl" -X PUT -H "Content-type: text/xml" --data-binary @scan_export.xml "https://<qualys_base_url>/api/2.0/fo/report/template/scan/?action=update&template_id=8209&report_format=xml"
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>2017-04-04T10:52:34Z</DATETIME> <CODE>Scan Report Template Updated Successfully [8209]</CODE> <TEXT></TEXT> </RESPONSE> </SIMPLE_RETURN>
<platform API server>/api/2.0/simple_return.dtd
Update a scan report template in the user's account.
Click here to view parameters for updating scan templates.
API Request
curl --location 'https:// /api/3.0/fo/report/template/scan/?action=update&report_format=xml&template_id=3038062' \ --header 'X-Requested-With: curl' \ --header 'content-type: text/xml' \ --header 'Authorization: encoded username:passwordstring' \ --data '<?xml version="1.0" encoding="UTF-8" ?>
XML Response
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE SIMPLE_RETURN SYSTEM "https:// <qualys_base_url>/api/3.0/simple_return.dtd"> <SIMPLE_RETURN> <RESPONSE> <DATETIME>2025-03-04T06:10:09Z</DATETIME> <TEXT>Scan Report Template Successfully Updated.</TEXT> <ITEM_LIST> <ITEM> <KEY>ID</KEY> <VALUE>3038062</VALUE> </ITEM> </ITEM_LIST> </RESPONSE> </SIMPLE_RETURN>
<platform API server>/api/3.0/simple_return.dtd
The following table depicts the information about the different versions of this API along with the status:
API Version | API Status | Release Date |
/api/2.0/fo/report/template/scan/?action=update | To be Deprecated | September 2025 |
/api/3.0/fo/report/template/scan/?action=update | Active |
March 2025 |