My Organizations
Set an organization member's role
Changed onSets an organization member's role to ADMIN, MANAGER, or MEMBER. The caller (key owner) must be the organization owner. The owner role cannot be assigned or removed this way - use ownership transfer instead. Requires orgs.roster:read-write.
patch/orgs/{identifier}/members/{userId}/role
Request
- Base URLhttps://teambattles.gg/api/v1
- URLhttps://teambattles.gg/api/v1/orgs/{identifier}/members/{userId}/role
- AuthHTTP bearer
Path parameters
identifierstring required
Organization slug or Convex organization ID.
userIdstring required
Convex user ID of the member whose role is changing.
Request body
Response
Member role updated.
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking