Token scope to use for removing collaborators? #24318
-
Scope for Personal access token with the requirement of removing collaborators from private GitHub repo |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I succesfully checked and deleted and collaborator on a Private repository with token scoped “repo” (Full control of private repositories) |
Beta Was this translation helpful? Give feedback.
-
Yes I did read up scope doc from GitHub. Here is the link for anyone who has problems in understanding what scope to choose for their particular requirement |
Beta Was this translation helpful? Give feedback.
I succesfully checked and deleted and collaborator on a Private repository with token scoped “repo” (Full control of private repositories)
The REST api remove-a-repository-collaborator returned “status 204 No Content”, when successful
With an incorrectly scoped permission token it returns 404 Not Found when attempting check or delete collaborator