Tetrate Service BridgeVersion: next
tctl delete
tctl delete
Delete an object
tctl delete [<apiVersion/kind> <name>] [flags]
Examples
# Delete a workspace using the resource FQN
tctl delete organizations/tetrate/tenants/my-tenant/workspaces/my-workspace
# Delete a cluster using the apiVersion/Kind pattern
tctl delete api.tsb.tetrate.io/v2/Cluster my-cluster
# Delete a single workspace using the short form
tctl delete ws my-workspace
# Delete a single workspace in dry-run mode at server-side.
# This will not delete any resources, but will perform the needed checks to
# determine if the resoruce and its dependecies can be deleted'.
tctl delete organizations/tetrate/tenants/my-tenant/workspaces/my-workspace --dry-run server-side
These are the available short forms:
aab ApplicationAccessBindings
ab AccessBindings
ap AuthorizationPolicy
apiab APIAccessBindings
app Application
cobc ClusterOnboardingConfig
cobs ClusterOnboardingStatus
cs Cluster
dr DestinationRule
ef EnvoyFilter
eg EgressGateway
gab GatewayAccessBindings
gg GatewayGroup
gw networking.istio.io/v1beta1/Gateway
gwt gateway.tsb.tetrate.io/v2/Gateway
iab IstioInternalAccessBindings
ig IngressGateway
iig IstioInternalGroup
oab OrganizationAccessBindings
openapi api.tsb.tetrate.io/v2/API
org Organization
os OrganizationSetting
otm Metric
ots Source
pa PeerAuthentication
prof Profile
ra RequestAuthentication
sa ServiceAccount
sab SecurityAccessBindings
sd Sidecar
se ServiceEntry
sg SecurityGroup
sm SegmentationMembership
sp SegmentationPolicy
sr ServiceRoute
srs SegmentationRules
ss SecuritySetting
sss ServiceSecuritySetting
sts ServiceTrafficSetting
svc Service
t1 Tier1Gateway
tab TrafficAccessBindings
tg TrafficGroup
tnab TenantAccessBindings
tns TenantSetting
ts TrafficSetting
vs VirtualService
wab WorkspaceAccessBindings
wext WasmExtension
wp WasmPlugin
ws Workspace
wss WorkspaceSetting
For API version and kind, please refer to: https://docs.tetrate.io/service-bridge/latest/en-us/reference
Options
-f, --file string File containing configuration to apply
--org string Organization the object belongs to
--tenant string Tenant the object belongs to
--cluster string Cluster the object belongs to
-w, --workspace string Workspace the object belongs to
-g, --group string Group the object belongs to
-t, --trafficgroup string Traffic group the object belongs to
-s, --securitygroup string Security group the object belongs to
-l, --gatewaygroup string Gateway group the object belongs to
-i, --istiointernalgroup string Istio internal group the object belongs to
-a, --application string Application the object belongs to
--api string API the object belongs to
--force Force object deletion even if deletion protection is enabled
--dry-run string Apply a single resource in dry-run mode: server-side
-h, --help help for delete
Options inherited from parent commands
-c, --config string Path to the config file to use. Can also be
specified via TCTL_CONFIG env variable. This flag
takes precedence over the env variable.
--debug Print debug messages for all requests and responses
--disable-tctl-version-warn If set, disable the outdated tctl version warning. Can also be
specified via TCTL_DISABLE_VERSION_WARN env variable.
-p, --profile string Use specific profile (default "default")