POST
UpdatePreferences
UpdatePreferences changes comment and release attention preferences.
/api.v1.notification.NotificationService/UpdatePreferences Bearer required01
Request
UpdateNotificationPreferencesRequest
UpdateNotificationPreferencesRequestapi.v1.notification.UpdateNotificationPreferencesRequest1 fields
Update Notification Preferences Request message.
{
"data": {
"directReplies": false,
"mentions": false,
"releaseNotifications": false,
"quietHoursStart": "string",
"quietHoursEnd": "string"
}
}02
Response
UpdateNotificationPreferencesResponse
UpdateNotificationPreferencesResponseapi.v1.notification.UpdateNotificationPreferencesResponse1 fields
Update Notification Preferences Response message.
{
"data": {
"directReplies": false,
"mentions": false,
"releaseNotifications": false,
"quietHoursStart": "string value",
"quietHoursEnd": "string value"
}
}03
Referenced models
1 nested message types
NotificationPreferencesapi.v1.notification.NotificationPreferences5 fields
Notification Preferences message.
directRepliesboolDirect Replies value.
mentionsboolMentions value.
releaseNotificationsboolRelease Notifications value.
quietHoursStartstringQuiet Hours Start value.
quietHoursEndstringQuiet Hours End value.
04
Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.