Delete report

/api/2.0/fo/report/?action=delete

[POST]

Delete a report in the user's account.

Permissions - Managers can delete any report. Unit Managers can delete report in their own business unit (report launched by users in their own business unit). Scanners and Readers can delete their own report.

Input Parameters

Parameter

Description

action=delete

(Required)

echo_request={0|1}

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

id={value}

(Required) The report ID you want to take action on.

 

Sample - Delete report

API request

curl -H "X-Requested-With: Curl Sample"

-d "action=delete&id=1234"

-b "QualysSession=71e6cda2a35d2cd404cddaf305ea0208; path=/api; secure" "https://qualysapi.qualys.com/api/2.0/fo/report/"