Set a team member's role
Sets a team member's role to CO_CAPTAIN or MEMBER. The caller (key owner) must be the team captain or co-captain. The captain role cannot be assigned or removed this way - use captaincy transfer instead. Requires teams.roster:read-write.
Path parameters
Team slug or Convex team ID.
Team slug or Convex team ID.
Convex user ID of the member whose role is changing.
Convex user ID of the member whose role is changing.
Request body
Response
Member role updated.
Changes
Changed in 2 of the 21 revisions of this API.11
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 377 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲