Name
kf delete-space
- Delete a Space and all its contents
Synopsis
kf delete-space NAME [flags]
Description
Deletes a Space and all its contents including its:
- Apps
- Build history
- Service bindings
- Service instances
- Routes
- The backing Kubernetes Namespace
-
Kubernetes resources in the Namespace
You will be unable to make changes to resources in the Space once deletion has begun.
Examples
kf delete-space my-space
Flags
-
--async - Don't wait for the action to complete on the server before returning
-
-h, --help - help for delete-space
Inherited flags
These flags are inherited from parent commands.
-
--config= string - Config file (default is $HOME/.kf)
-
--kubeconfig= string - Kubectl config file (default is $HOME/.kube/config)
-
--log-http - Log HTTP requests to stderr
-
--space= string - Space to run the command against. This overrides the currently targeted space

