Deletable
Lifecycle check indicating whether a resource can safely be deleted.
Before deleting a project or environment, query this field to determine if deletion is
allowed. When result is false, the constraints list explains exactly what is
blocking deletion and which resources need to be resolved first.
A resource is deletable only when all of the following are true:
- No child instances are provisioned or in a failed state
- No deployments are currently pending or running
- No dependent child resources exist (e.g., environments in a project, forks of an environment)
type Deletable {
result: Boolean!
constraints: [DeletionConstraint]
}
Fields
Deletable.result ● Boolean! non-null scalar {#result}
Whether the resource can be safely deleted right now.
Deletable.constraints ● [DeletionConstraint] list object {#constraints}
The list of conditions preventing deletion. Empty when result is true.
Member Of
Environment object ● Project object