Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/src/services/users.ts>Users#updateLabels

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Users.prototype.updateLabels
import { Users } from "https://deno.land/x/appwrite@10.0.0/src/services/users.ts";

Update user labels

Update the user labels by its unique ID.

Labels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the Permissions docs for more info.

Type Parameters

Preferences extends Models.Preferences

Parameters

userId: string
labels: string[]

Returns

Promise<Models.User<Preferences>>