Collaborators

11 commands (DELETE 3, GET 5, PATCH 2, PUT 1). Write commands (POST, PUT, PATCH, DELETE) change data on GitHub, use -WhatIf to preview a request

Command Alias Method Endpoint Synopsis
Get-GitHubRepositoryCheckCollaborator Get-GHRepositoryCheckCollaborator GET /repos/{owner}/{repo}/collaborators/{username} Check if a user is a repository collaborator
Get-GitHubRepositoryCollaboratorPermissionLevel Get-GHRepositoryCollaboratorPermissionLevel GET /repos/{owner}/{repo}/collaborators/{username}/permission Get repository permissions for a user
Get-GitHubRepositoryCollaborators Get-GHRepositoryCollaborators GET /repos/{owner}/{repo}/collaborators List repository collaborators
Get-GitHubRepositoryInvitations Get-GHRepositoryInvitations GET /repos/{owner}/{repo}/invitations List repository invitations
Get-GitHubRepositoryInvitationsForAuthenticatedUser Get-GHRepositoryInvitationsForAuthenticatedUser GET /user/repository_invitations List repository invitations for the authenticated user
Remove-GitHubRepositoryCollaborator Get-GHRemoveRepositoryCollaborator DELETE /repos/{owner}/{repo}/collaborators/{username} Remove a repository collaborator
Remove-GitHubRepositoryDeclineInvitationForAuthenticatedUser Get-GHRemoveRepositoryDeclineInvitationForAuthenticatedUser DELETE /user/repository_invitations/{invitation_id} Decline a repository invitation
Remove-GitHubRepositoryInvitation Get-GHRemoveRepositoryInvitation DELETE /repos/{owner}/{repo}/invitations/{invitation_id} Delete a repository invitation
Set-GitHubRepositoryAcceptInvitationForAuthenticatedUser Get-GHSetRepositoryAcceptInvitationForAuthenticatedUser PATCH /user/repository_invitations/{invitation_id} Accept a repository invitation
Set-GitHubRepositoryAddCollaborator Get-GHSetRepositoryAddCollaborator PUT /repos/{owner}/{repo}/collaborators/{username} Add a repository collaborator
Set-GitHubRepositoryInvitation Get-GHSetRepositoryInvitation PATCH /repos/{owner}/{repo}/invitations/{invitation_id} Update a repository invitation

Have a look around and if you would like to contribute please read over the Contributing guide


Table of contents