Update preferences

Updates notification preferences with explicit events, opt-in, or opt-out operations. | (UserNotificationPreferencesUpdateRequest) -> (NotificationUserPreferences1)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
set_events_by_channelmap from strings to optional lists of enumsOptional
add_events_by_channelmap from strings to optional lists of enumsOptional
remove_events_by_channelmap from strings to optional lists of enumsOptional
opt_in_to_all_on_channelslist of enumsOptional
Allowed values:
opt_out_of_all_on_channelslist of enumsOptional
Allowed values:

Response

Successful Response
schema_versioninteger
user_idstring

Must be a string starting with user_

created_at_timestampdatetime
last_edited_at_timestampdatetime
_idstring
email_eventslist of enums
push_eventslist of enums
sms_eventslist of enums

Errors

422
User Preferences Update V1request Unprocessable Entity Error