Add User to Team

Add a user to a team in GitHub.

To use this action card, you must be the owner of the organization.

Options

Field Definition Type Required

Organization

Organizations in GitHub.

Dropdown

TRUE

Input

Field Definition Type Required

Username

Username for the user. This can be a sign-in account or a username.

Text

TRUE

Role

Role of the user; options are Member or Team Maintainer.

Dropdown

FALSE

Team

List of teams to which the user can be added.

Dropdown

FALSE

Output

Field Definition Type

Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

GitHub connector

Workflow elements

GitHub API documentation