User Preferences
Replace user preferences in bulk
Changed onReplaces a user's entire set of preference overrides. Any topic you leave out is reset to its default, so send the full set rather than a subset.
put/users/{user_id}/preferences
Request
- Base URLhttps://api.courier.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
A unique identifier associated with the user whose preferences you wish to update.
Query parameters
tenant_idstring nullable
Replace the preferences of a user for this specific tenant context.
Request body
Response
The replacement was applied. items contains the complete resulting set of topic overrides for the user, and deleted lists the ids of the overrides that were reset to their topic default.
Changes
- info
endpoint added
- info