Get the EMS configuration using the ONTAP REST API
You can retrieve the current EMS configuration for an ONTAP cluster. You might do this before updating the configuration or creating a new EMS notification.
HTTP method and endpoint
This REST API call uses the following method and endpoint.
| HTTP method | Path |
|---|---|
GET |
/api/support/ems |
Processing type
Synchronous
Curl example
curl --request GET \
--location "https://$FQDN_IP/api/support/ems" \
--include \
--header "Accept: */*" \
--header "Authorization: Basic $BASIC_AUTH"
JSON output example
{
"proxy_url": "https://proxyserver.mycompany.com",
"proxy_user": "proxy_user",
"mail_server": "mail@mycompany.com",
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"pubsub_enabled": "1",
"mail_from": "administrator@mycompany.com"
}