0

I'm struggling with add-or-update-organization-membership endpoint. I use Octokit and I'm authenticated via OAuth as organization owner and when I try to invite somebody I receive:

Octokit::Forbidden: PUT https://api.github.com/orgs/<org name>/memberships/<user login>: 403 - You must be an admin to add or update an organization membership. // See: https://developer.github.com/v3/orgs/members/#add-or-update-organization-membership

I have following OAuth scopes: "user,user:repo,write:org,read:org".

4

1 回答 1

1

叹息...我需要admin:org范围。

于 2016-12-02T22:18:48.430 回答