Team

Change a member's role

Changed on

Changes a member's role. Nobody changes their own role or permissions, so a credential can never promote the person it acts for; a change may grant only permissions that person holds, and the workspace always keeps a member who holds team.

Scope: team:write. The person behind the credential needs the team permission (Admins by default).

patch/v1/team/members/{userId}

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

userId, string uuid required

Request body

object required
role, 'owner' | 'senior_member' | 'member' | 'viewer' | 'none' required

Response

Change a member's role: done.

union required
object required
OR
unknown[] required

Changes