Organizations

UpdateTeam

Updates a team's membership and configuration. This multi-purpose endpoint supports several operations:

Update membership: Use member (username) and memberAction (add or remove) to manage team members.

Grant stack access: Use addStackPermission with projectName, stackName, and permission (integer: 101 = read, 102 = edit, 103 = admin).

Remove stack access: Use removeStack with projectName and stackName.

Members added to a team inherit the team's stack permissions. Teams are not available to individual (single-user) organizations.

patch/api/orgs/{orgName}/teams/{teamName}

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/{teamName}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

teamNamestring required

The team name

Request body

memberstring

Member to be added or removed based on MemberAction.

memberAction'add' | 'remove' | 'promote' | 'demote'

MemberAction is the action to perform.

newDescriptionstring

The new description for the team.

newDisplayNamestring

The new display name for the team.

Response

No Content

Changes

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