Delete Report by Report ID API
Use this API to delete reports using report ID.
If the JSON API function is called with an empty string or only white space, it returns empty data or error. To avoid this, use `{}` as a default value when the JSON input may be empty.
Input ParametersInput Parameters
Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
id | Mandatory | String | Provide a unique ID of the report. |
Authorization |
Mandatory |
String |
Authorization token to authenticate to the Qualys Enterprise TruRisk Platform Prepend token with Bearer and one space. For example - Bearer authToken |
SampleSample
API Request
curl -X DELETE
'<qualys_base_url>/etm/api/rest/v1/reports/0b127284-e128-4d02-a720-2748240c9f1a'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer <JWT Token>'
Response
Report is deleted.