View collaborator's permission on Github repository curl -u [owner] \ https://api.github.com/repos/[owner]/[repository]/collaborators/[username]/permission Add user as a collaborator to Github repository has admin permission admin: read, write, admin push: read, write ( default when add user as a conaborator ) pull: read curl -i -u [owner] -X PUT \ -H 'Accept: application/vnd.github.v3.full+json' \ -d '{"permission":"[admin/push/pull]"}' \ https://api.github.com/repos/[owner]/[repository]/collaborators/[username] Delete collaborator on Github repository curl -i -u [owner] -X DELETE \ https://api.github.com/repos/[owner]/[repository]/collaborators/[username] Reference Github API V3 - Collaborators