repository

Add or Update a collaborator to a repository

Changed on
put/repos/{owner}/{repo}/collaborators/{collaborator}

Request

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

collaboratorstring required

username of the user to add or update as a collaborator

Request body

permission'read' | 'write' | 'admin'

Permission level to grant the collaborator

Response

APIEmpty is an empty response

Changes

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status