a84d4905fdbb
latestOpenAPI 3.1.02026-08-143874115.7 MBTeam Members
Update Team Member
Changes a team member's system role. Requires a user session — account API keys cannot change member roles. The account owner's role cannot be changed, and you cannot change your own role.
patch/team_members/{id}
Request body
Example request
{
"role": "workforce"
}Response
Team member updated.
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"email": "marcus@shinetime.example",
"id": "ausr_xxxxxxxxxxxxxx",
"role": "moderator",
"status": "joined",
"updated_at": "2026-01-01T12:00:00.000Z",
"user": {
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://assets-2-rough.whop.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
},
"username": "danawhitfield"
}
}