Get Mail Notification Settings
Returns all email notification settings.
Request
URI
GET
https://umip/api/v1/mail-notifications
COPY
Responses
200
The current mail notifications are returned successfully.
Returns
MailNotifications
of type(s)
application/json
{
"notificationSettings": {
"fromEmail": "string",
"notifyEmails": [
"string"
],
"notificationFrequency": 0
},
"alertsSubscriptions": [
"string"
],
"lastModificationTime": 0,
"paused": false,
"smtpSettings": {
"smtpHost": "string",
"smtpPort": 0,
"smtpUser": "string",
"smtpPassword": "string",
"smtpUseSsl": false
}
}
object
notificationSettings
Required
Notification settings options.
array of
string
alertsSubscriptions
Required
alertsSubscriptions
Possible values are :
PRODUCT_NOTIFICATIONS,
RESOURCE_USAGE,
CLOUD_CONNECTION,
DATA_FILE_MANAGEMENT,
integer
lastModificationTime
Optional
lastModificationTime
boolean
paused
Optional
paused
object
smtpSettings
Required
SMTP configuration settings representation.
204
Mail notification settings does not exist.
Operation doesn't return any data structure
401
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v1/mail-notifications
Mail Notification Settings Operations
GET
Get Mail Notification Settings
PUT
Update Mail Notification Settings
PATCH
Patch Mail Notification Settings
DELETE
Delete Mail Notification Settings