JavaScript
Tenants
Create or Replace Default Preferences For Topic
PUT
JavaScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Id of the tenant to update the default preferences for.
Id of the subscription topic you want to have a default preference for.
Body
application/json
Available options:
OPTED_OUT, OPTED_IN, REQUIRED Override channel routing with custom preferences. This will override any template preferences that are set, but a user can still customize their preferences
The default channels to send to this tenant when has_custom_routing is enabled
Available options:
direct_message, email, push, sms, webhook, inbox Response
204 - undefined