Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@5.0.1/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