Update user preference
This API enables you to update the channel preference of a user for multiple subscription topics. In the JSON payload, enter the subscription ID as keys to update the channel preference. To update the user preference for all subscription topics at once (global preference), use 'all' instead of the subscription id.
Note: If the channel configuration for a subscription topic is set to 'required', then the user preference for the channel cannot be updated.
Path parameters
Enter your workspace ID. You can obtain this value from the API Keys page within your Fyno account.
Specify the version for which you would like to manage the user profile.
Query parameters
Enter the distinct ID that you currently use to identify the user.
Request body
Response
Subscription updated successfully
Changes
Changed in 2 of the 35 revisions of this API.15
- ○
the response property
_messagebecame required for the status400response-property-became-required
- ○
the response property
_messagebecame required for the status401response-property-became-required
- ○
the response property
statusbecame required for the status400response-property-became-required
- ○
the response property
statusbecame required for the status401response-property-became-required
- ○
- ▲
the request property
user_preferencebecame requiredrequest-property-became-required
- ○
the response property
SXXXXXXXXXbecame required for the status200response-property-became-required
- ▲