PUT
/
repos
/
{repo_id}
/
invites

Authorizations

Authorization
string
headerrequired

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The 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
required

A 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>
required
Available options:
READ,
WRITE,
ADMIN,
OWNER