我可以使用应用商店连接 api 获取用户的团队 ID 吗?

Can I get the team id of a user using app store connect api?

我可以为使用应用商店连接 api 的用户获取 team_id 吗?我看过 https://developer.apple.com/documentation/appstoreconnectapi/users 但什么也没看到。对于特定用户,我不一定需要它,但与该特定应用程序相关的团队 ID。

App Store Connect ID 通过 issuer-id 工作,不再像 fastlane 通过 Web 身份验证那样暴露旧的/传统的身份识别,如 team_idportal_team_id : https://github.com/fastlane/fastlane/blob/48151291f2c4949c3b1b9919ba2cc81a7cc33293/spaceship/lib/spaceship/portal/spaceship.rb#L42

ASC API 密钥仅对一个团队有效,因此在 API 逻辑中它也不应该访问该信息。