โ† API reference
Mutation / admin

iacGitDeleteWorkingRef

Immediately delete a working branch with expected-head protection.

Arguments

stackIdIaCStackID!

Owning stack.

nameString!

Working branch to delete; main is protected.

expectedString!

Expected current commit.

Returns IaCGitStageValue!

Scalar fields at a glance

okBoolean!
โ†— View the complete IaCGitStageValue type

Explore in a view

Administration and IAM
View exact SDL
"""Immediately delete a working branch with expected-head protection."""
iacGitDeleteWorkingRef(
  """Owning stack."""
  stackId: IaCStackID!
  """Working branch to delete; main is protected."""
  name: String!
  """Expected current commit."""
  expected: String!
): IaCGitStageValue! @topic(names: ["admin"])

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