owner
, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see about repository transfers.curl --location --request POST 'https://api.github.com/repos///transfer' \
--header 'Content-Type: application/json' \
--data-raw '{
"new_owner": "github",
"team_ids": [
12,
345
]
}'
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通