Organizations

CreatePulumiTeam

CreatePulumiTeam creates a "Pulumi" team, i.e. one whose membership is managed by Pulumi. (As opposed to a GitHub or GitLab-based team.)

post/api/orgs/{orgName}/teams/pulumi

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/orgs/{orgName}/teams/pulumi
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Request body

descriptionstring required

The description

displayNamestring required

The display name

namestring required

The name

Response

Created

descriptionstring required

A free-form text description of the team's purpose.

displayNamestring required

The human-readable display name shown in the UI.

kind'github' | 'pulumi' | 'scim' required

The kind of team (e.g., pulumi or GitHub-backed).

listMembersErrorstring

ListMembersError is the error message if an error was encountered whilst trying to contact the team's backend (eg. GitHub). The UI will only show this error if it is non-nil and if Members itself is an empty slice.

namestring required

The unique identifier name of the team within the organization.

roleIdsstring[]

RoleIDs are the IDs of the FGA roles assigned to the team, if any. Currently only one role per team is supported.

userRole'none' | 'member' | 'admin'

UserRole is the calling user's role on the given team.

Changes

No recorded changes to this operation across all 1 revision of this API.