repository

Add Collaborator

put/api/repos/{namespace}/{repository}/collaborators

Request

Path parameters

namespacestring required

Repository namespace (user or organization)

repositorystring required

Repository name

Request body

accessLevel'viewer' | 'supporter' | 'coder' | 'manager' | 'admin' required
usernamestring required

Response

Collaborator added or updated

access_level'viewer' | 'supporter' | 'coder' | 'manager' | 'admin' required
user_idstring uuid required
usernamestring required

Changes

No recorded changes to this operation across all 10 revisions of this API.