curl --location --request POST 'https://api.github.com/admin/organizations' \
--header 'Content-Type: application/json' \
--data-raw '{
"admin": "monalisaoctocat",
"login": "github",
"profile_name": "GitHub, Inc."
}'
{
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"description": "A great organization",
"events_url": "https://api.github.com/orgs/github/events",
"hooks_url": "https://api.github.com/orgs/github/hooks",
"id": 1,
"issues_url": "https://api.github.com/orgs/github/issues",
"login": "github",
"members_url": "https://api.github.com/orgs/github/members{/member}",
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
"repos_url": "https://api.github.com/orgs/github/repos",
"url": "https://api.github.com/orgs/github"
}
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通