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

扫码加入交流群