Delete Saved Report

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

Delete a report in the user's account. This option is available when the Report Share feature is enabled in the user’s subscription.

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 ParametersInput Parameters

Parameter

Required/Optional

Data
Type

Description

action=delete

Required

String

Specify action to delete report.

echo_request={0|1}

Optional

Integer

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

id={value}

Required

Integer

The report ID you want to take action on.

Sample - Delete Saved ReportSample - Delete Saved Report

API Request

curl -H "X-Requested-With: Curl Sample"-d "action=delete&id=1234"-b "QualysSession=71e6cda2a35d2cd404cddaf305ea0208; path=/api; secure" "https://<qualys_base_url>/api/2.0/fo/report/"

DTD

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