diff --git a/organization.go b/organization.go index 6f91a7c29..e4b9086ee 100644 --- a/organization.go +++ b/organization.go @@ -78,7 +78,9 @@ type Organization struct { TrialExpiresAt time.Time `jsonapi:"attr,trial-expires-at,iso8601"` TwoFactorConformant bool `jsonapi:"attr,two-factor-conformant"` SendPassingStatusesForUntriggeredSpeculativePlans bool `jsonapi:"attr,send-passing-statuses-for-untriggered-speculative-plans"` - AllowForceDeleteWorkspaces bool `jsonapi:"attr,allow-force-delete-workspaces"` + // Note: This will be false for TFE versions older than v202211, where the setting was introduced. + // On those TFE versions, safe delete does not exist, so ALL deletes will be force deletes. + AllowForceDeleteWorkspaces bool `jsonapi:"attr,allow-force-delete-workspaces"` } // Capacity represents the current run capacity of an organization.