Collaborators
Put repos invites
Invite a collaborator to a repository
PUT
/
repos
/
{repo_id}
/
invites
Authorizations
Authorization
string
headerrequiredThis API uses OAuth 2 with the implicit grant flow
Path Parameters
repo_id
string
requiredThe repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Body
application/json
collaborator_handle
string
requiredA user ID or email. User IDs are preferred, but an email can be used to invite a new collaborator who does not have an account or whose user ID is unknown.
mode
enum<string>
requiredAvailable options:
READ
, WRITE
, ADMIN
, OWNER