Skip to main content

DeletionConstraint

A specific condition that prevents a resource from being deleted.

Each constraint identifies the blocking resource (by type and id) and provides a human-readable message explaining what must be resolved before deletion can proceed. For example, an environment cannot be deleted while it contains provisioned instances, and a project cannot be deleted while it has environments.

To resolve a constraint, address the blocking condition described in message -- typically by decommissioning or removing the resource identified by type and id.

type DeletionConstraint {
message: String!
type: String!
id: String!
}

Fields

DeletionConstraint.message ● String! non-null scalar {#message}

Human-readable explanation of why deletion is blocked.

DeletionConstraint.type ● String! non-null scalar {#type}

The kind of resource causing the block (e.g., package, environment).

DeletionConstraint.id ● String! non-null scalar {#id}

The identifier of the blocking resource.

Member Of

Deletable object