Example: Canceling the health check report

Here’s a sample POST request that cancels the health check report download. The request is made using a system-level user account that includes the administrator role.

Request with cURL command line

curl -X POST -k -b hcp-api-auth="HCP ZGVa3b9c17d52107f34fhdb83c7a5" -H "Accept: application/xml" https://admin.hcp.example.com:9090/mapi/healthCheckReport?cancel

Request headers

POST /mapi/healthCheckReport?cancel HTTP/1.1
Host: admin.hcp.example.com:9090
Authorization: HCP ZGVa3b9c17d52107f34fhdb83c7a5

Response headers

HTTP/1.1 200 OK
X-HCP-SoftwareVersion: 9.0.0.2
Content-Length: 0

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.