Delete a patch report template in the user's account.
Parameter |
Required/Optional |
Data Type |
Description |
---|---|---|---|
action=delete |
Required |
String |
Specify action to delete patch template. |
template_id={value} |
Required |
Integer |
The template ID you want to take action on. |
API Request
curl -u "USERNAME:PASSWORD" -H "X-Requested-With:curl" -d "action=delete&template_id=8209""https://<qualys_base_url>/api/2.0/fo/report/template/patch/"
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:54:37Z</DATETIME> <CODE>Patch Report Template(s) Deleted Successfully [8209]</CODE> <TEXT></TEXT> </RESPONSE> </SIMPLE_RETURN>
<platform API server>/api/2.0/simple_return.dtd