notification.group.leave

The notification.group.leave command removes a user from a notification group.

TR50 Request


                        {
    "cmd": {
        "command": "notification.group.leave",
        "params": {
            "key": "notificationgroup1",
            "userEmail": "user@example.com"
        }
    }
}

      

Request Parameters

Name

Type

Required

Description

key

String

Yes

The key of the group.

userEmail

String

Yes

The email address of the user (Requires Org-Admin rights).

TR50 Response

If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.


                        {
  "cmd": {
    "success": true
  }
}