Skip to main content
The Deno 2 Release Candidate is 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@8.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