Deleting a custom report

You can delete a custom report.

Method and URI

To delete a custom report, use a DELETE method with a URI:

DELETE  https://{hostname|IPv4}/api/endeavour/report/{reportIdStr}

Tip

To get the {reportIdStr} based on the report name, follow the instructions in Getting a {reportIdStr}.

Parameters

None.

Data

None.

Example: Delete a custom report

Assume that you added a custom report, vSnapStorageUtilization-Dallas1 ({reportIdStr} 1013), and you want to delete the custom report. Run the following command:

report_id_str = "1013"

requests.delete('https://' + spp_ipv4 + '/api/endeavour/report' + report_id_str,
    headers={...}, verify=...)

Ensure that you get a response with the HTTP status of 204 (No Content) and that you no longer see this custom report.