alarm group deleteEmails
Deletes the email addresses of users/groups.
Syntax
- CLI
-
maprcli alarm group deleteEmails [ -cluster <cluster_name> ] -groupname <group name> -emails <email addresses>
- REST API
-
Request Type POST Request URL http[s]://<host>:<port>/rest/alarm/group/deleteEmails?<parameters>
Parameters
Parameter | Description |
---|---|
cluster | (Optional) The cluster on which to run the command. The default is the cluster on which the command is run. |
groupname | (Required) The name of the alarm group to remove the email addresses
from. If necessary, run listgroup to retrieve the list of alarm
groups. |
emails | (Required) The comma-separated list of email addresses of users/groups to remove. |
Example
Delete the given emails associated with the cldb.alarm.group.error
group:
- CLI
-
maprcli alarm group deleteEmails -groupname cldb.alarm.group.error -emails xyz@gmail.com,abc@gmail.com
- REST
-
curl -X POST -u <username> https://abc.sj.us:8443/rest/alarm/group/deleteEmails?groupname=cldb.alarm.group.errorinfo&emails=xyz@gmail.com,abc@gmail.com