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

x/appwrite/mod.ts>Teams#updateMembershipRoles

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

Update Membership Roles

Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about roles and permissions.

Parameters

teamId: string
membershipId: string
roles: string[]