← API reference
Mutation / admin

iacGrantStack

Manage stack grants; grants never bypass resource permissions.

Arguments

stackIdIaCStackID!

Stack id (stk_…).

teamIdTeamID!

Team receiving access.

accessString

read, write, execute or admin; omitted removes the grant.

Returns IaCStackUpdateResult!

Scalar fields at a glance

okBoolean!
↗ View the complete IaCStackUpdateResult type

Explore in a view

Administration and IAM
View exact SDL
"""Manage stack grants; grants never bypass resource permissions."""
iacGrantStack(
  """Stack id (stk_…)."""
  stackId: IaCStackID!
  """Team receiving access."""
  teamId: TeamID!
  """read, write, execute or admin; omitted removes the grant."""
  access: String
): IaCStackUpdateResult! @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.