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

Request

  • Base URL: https://api.repowise.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.repowise.dev/teams/{team_id}/transfer-ownership
  • Auth: HTTP bearer

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

No recorded changes to this operation across all 20 revisions of this API.