Skip to content

Token scope to use for removing collaborators? #24318

Answered by byrneh
nsm10 asked this question in API and Webhooks
Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment