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.curl --location --request GET 'https://api.github.com/orgs//teams//memberships/'{
"role": "member",
"state": "active",
"url": "http://example.com"
}