Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Users#updatePrefs

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Users.prototype.updatePrefs
Re-export
import { Users } from "https://deno.land/x/appwrite@6.0.0/mod.ts";

Update User Preferences

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.

Parameters

userId: string
prefs: object