Skip to main content
PUT
Add a collaborator

Authorizations

Authorization
string
header
required

Personal access token. Use format: token {YOUR_ACCESS_TOKEN}

Path Parameters

owner
string
required

Repository owner

repo
string
required

Repository name

collaborator
string
required

Collaborator username

Body

application/json
permission
enum<string>
default:write
Available options:
read,
write,
admin

Response

Collaborator has been added.