Updates specific preferences for the authenticated user
cURL
curl --request PATCH \ --url http://localhost:3000/api/users/{userId}/preferences \ --header 'Content-Type: application/json' \ --data ' { "path": [ "<string>" ], "value": "<unknown>" } '
{ "success": true, "updatedPreferences": {} }
The ID of the user
Path to the nested preference property
The new value for the preference
Preferences updated successfully