state
of the membership and the member's role
.role
for organization owners is set to maintainer
. For more information about maintainer
roles, see Create a team.Authorization: Bearer ********************
curl --location --request GET 'https://api.github.com/teams//memberships/' \
--header 'Authorization: Bearer <token>'
{
"role": "member",
"state": "active",
"url": "http://example.com"
}
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通