Stacks

UpdateTeamStackPermissions

Modifies the permissions that a specific team has for the referenced stack. This allows setting the team's permission level (read, write, admin) for a single stack without affecting the team's permissions on other stacks. The team does not need an existing grant on the stack; one is created if it is missing. Returns 400 if the permission level is invalid. Returns 403 if the caller lacks permission to update the team. Returns 404 if the team does not exist.

patch/api/console/stacks/{orgName}/{projectName}/{stackName}/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/console/stacks/{orgName}/{projectName}/{stackName}/teams/{teamName}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

teamNamestring required

The team name

Request body

permissions0 | 101 | 102 | 103 | 104

Permissions the permissions that team membership grants to the stack. Will overwrite any existing permissions the team grants to the stack. A nil value, or a permission of "none", will remove the stack from the team.

Response

No Content

Changes

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