Skip to main content

users_update_prefs

Function users_update_prefs 

Source
pub async fn users_update_prefs(
    configuration: &Configuration,
    user_id: &str,
    payload: Option<AccountUpdatePrefsRequest>,
) -> Result<HashMap<String, Value>, Error<UsersUpdatePrefsError>>
Expand description

Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.