Notification Setting

Get, set, and reset a notification setting for the org.
Notification settings have default values that come from the notification type definition and application settings. Admins can disable notification settings that are enabled by default; however, they can’t enable notification settings that are disabled by default.
Resource
/connect/notifications/settings/organization/notificationTypeOrId
Available version
47.0
HTTP methods
GET, POST, DELETE
Request body for POST
Use POST to set a notification setting.
Root XML tag
<notificationTargetSetting>
JSON example
{
   "desktopEnabled":"false"
}
Properties
Name Type Description Required or Optional Available Version
desktopEnabled Boolean Specifies whether to enable desktop delivery for the notification type (true) or not (false). If not specified, the setting doesn’t change. Optional 47.0
emailEnabled Boolean Specifies whether to enable email delivery for the notification type (true) or not (false). If not specified, the setting doesn’t change. Optional 47.0
mobileEnabled Boolean Specifies whether to enable mobile delivery for the notification type (true) or not (false). If not specified, the setting doesn’t change. Optional 47.0
slackEnabled Boolean Reserved for future use. Optional 52.0
Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
desktopEnabled Boolean Specifies whether to enable desktop delivery for the notification type (true) or not (false). If not specified, the setting doesn’t change. Optional 47.0
emailEnabled Boolean Specifies whether to enable email delivery for the notification type (true) or not (false). If not specified, the setting doesn’t change. Optional 47.0
mobileEnabled Boolean Specifies whether to enable mobile delivery for the notification type (true) or not (false). If not specified, the setting doesn’t change. Optional 47.0
slackEnabled Boolean Reserved for future use. Optional 52.0
Response body for GET and POST
Notification Setting
Response for DELETE
Use DELETE to reset a notification setting to the default.
204: Successful Delete