v2

latestOpenAPI 3.1.0LicenseRef-Convex2026-07-264790136.4 KB
Teams

Update a team member's role

Sets either the member's built-in role (admin/developer) or their customRoles. The two fields are mutually exclusive: setting role clears customRoles, and setting customRoles (must be non-empty) puts the member in the custom role.

post/teams/{team_id}/update_team_member_role

Path parameters

team_idinteger required

Team ID

Request body

memberIdinteger required
role'admin' | 'developer' | 'custom'
customRolesCustomRoleId[] nullable

Replace the member's custom roles. Mutually exclusive with role. Must be non-empty. Sets the member's role to custom.