Create or Replace Default Preferences For Topic

PUT

Path parameters

tenant_idstringRequired

Id of the tenant to update the default preferences for.

topic_idstringRequired

Id fo the susbcription topic you want to have a default preference for.

Request

This endpoint expects an object.
statusenumRequired
Allowed values: OPTED_OUTOPTED_INREQUIRED
has_custom_routingbooleanOptional

Override channel routing with custom preferences. This will override any template prefernces that are set, but a user can still customize their preferences

custom_routinglist of enumsOptional

The default channels to send to this tenant when has_custom_routing is enabled