Authenticate¶
Currently we leverage key based authentication.
To obtain the App Key, go to Settings -> APIs -> Auth Keys -> Create Application Key. Pass this key as a header, x-app-key:<your_key>
, when making the API requests. Also pass the header Content-Type:application/json
.
Example¶
To obtain all alerts, make the API request
curl -XGET -H "x-app-key:<your-key>" -H "Content-type: application/json" 'https://<your>.epoch.nutanix.com/api/v2/alert'