approveDeployment
Approve a proposed deployment, releasing it into the run queue.
The deployment transitions from PROPOSED to APPROVED and will execute
as soon as nothing else is running on the instance. Approval is only valid
for deployments in PROPOSED status; any other status returns a validation
error.
When the instance's environment has separationOfDuty enabled, the account
or service account named in deployedBy cannot approve its own proposal —
a second reviewer has to call this mutation. Use rejectDeployment to
withdraw your own proposal.
approveDeployment(
organizationId: ID!
id: UUID!
): DeploymentPayload
Arguments
approveDeployment.organizationId ● ID! non-null scalar {#organization-id}
Your organization's unique identifier.
approveDeployment.id ● UUID! non-null scalar {#id}
The proposed deployment's unique identifier.