account

Change a member's role

Sets a member's role. Owner only. A team must keep at least one owner.

patch/api/v1/teams/{team}/members/{userId}

Request

  • Base URL: https://meettempi.com
  • URL: https://meettempi.com/api/v1/teams/{team}/members/{userId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie tempi_session

Path parameters

teamstring required

the id or slug of a team you belong to

userIdstring required

a member’s user id ("usr_…") from get_team

Request body

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

a team role: owner | admin | member

Response

Success

Changes

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