v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Add or Update a collaborator to a repository

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

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