Update user preference
Changed onThis 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.
Request
- Base URLhttps://api.fyno.io/v1
- URLhttps://api.fyno.io/v1/{WSID}/{version}/subscriptions/preference
- AuthHTTP bearer
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
- breaking
removed the enum value
livefrom thepathrequest parameterversion - breaking
removed the enum value
testfrom thepathrequest parameterversion
- breaking
- info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- info