Add User to Repository

Add a user to a repository in GitHub.

Input

Field Definition Type Required
User
Username username for the user; can be an login or username; for example firstlastname-okta String TRUE
Permission permissions available to team members; options are Pull, Pull and Push, or Pull, Push and Administer Dropdown TRUE
Repository
Owner username of the repository owner; if the repository is personal, then enter a username; if the repository is organization-owned, then enter the name of the organization String TRUE
Name name of the repository String TRUE
Note

If a user already has access to the repository but is not a member (for example, an organization owner), they will be added as a collaborator in the repository.

Output

Field Definition Type
Invitation ID invitation_id_parameter value for the user invitation Number
Invitee username of the invited user String
Inviter username of the creater of the invitation String
Permissions permissions available to team members String
Created At date and time when the invitation was created Date & Time
Invitation URL URL of the invitation for the new user String
Status Code success or failure of your HTTP request; here is a list of all status codes Number

Related topics

GitHub connector

About the elements of Okta Workflows

GitHub API documentation