I looked at:
github dot com /npm/registry/blob/master/docs/
and I see how a user’s role can be managed, but I don’t see a way to manage teams in the docs here.
Taking a look at npm cli => team.js it would seem that it’s the team route, and indeed, I can get that route (e.g., via
curl -s -H 'Authorization: Bearer xxxx' -XGET https://registry.npmjs.org/-/org/xyz/team
Is the API any better documented anywhere?