Transfer a repository
POST {{baseUrl}}/repos/:owner/:repo/transfer
A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original owner
, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see about repository transfers.
Request Body
{"new_owner"=>"<string>", "team_ids"=>["<integer>", "<integer>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |