teams

Transfer Ownership

Owner-only: promote another active member to owner and demote the caller to admin. Returns the updated roster.

post/teams/{team_id}/transfer-ownership

Path parameters

team_idstring required

Request body

new_owner_user_idstring required

Response

Successful Response

team_idstring required
user_idstring required
role'owner' | 'admin' | 'member' required
added_atstring date-time required
emailstring nullable
github_usernamestring nullable
avatar_urlstring nullable

Changes