Update Member Role

patch/api/teams/{team_id}/members/{user_id}

Request

  • Base URL
    https://api.gethesperai.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.gethesperai.com/api/teams/{team_id}/members/{user_id}
  • Auth
    none declared

Path parameters

team_idstring uuid required
user_idstring uuid required

Headers

X-Team-Idstring nullable

Request body

role'owner' | 'admin' | 'member' | 'viewer' required

Membership roles, ordered by privilege.

owner — single per team, set at team creation, can delete the team admin — can invite, change roles (except owner), and delete team data member — can create cases/policies and read everything in the team viewer — read-only across the team

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.