Skip to content

Latest commit

 

History

History
67 lines (59 loc) · 1.96 KB

File metadata and controls

67 lines (59 loc) · 1.96 KB

Delete

cf CLI delete confirmation

Space

$ cf delete-space temp
This action impacts all resources scoped to this space, including apps, service instances, and space-scoped service brokers.
Really delete the space temp? [yN]: y
Deleting space temp in org dftest as daniel.fein@company.com...
OK

Really delete the space temp? [yN]: n
'temp' has not been deleted.

Org Group

$ cf org-groups
Getting org-groups as tanzu_platform_admin...

name           foundation group   status
abhisheks-og   fg-name            COMPLETED
df-og          fg-name            FAILED  

$ cf delete-org-group df-og
Really delete the org group df-og? [yN]: y
Deleting org group df-og as tanzu_platform_admin...
OK

TIP: No org group or space group targeted, use 'cf target -o ORG_GROUP -s SPACE_GROUP' to target an org group and space group.

Org

$ cf delete-org dftest
Really delete the org dftest, including its spaces, apps, service instances, routes, private domains and space-scoped service brokers? [yN]:n
Organization 'dftest' has not been deleted.

App

$ cf delete hello-spring-cloud
Really delete the app hello-spring-cloud? [yN]: n
App 'hello-spring-cloud' has not been deleted.

Route

cf delete-route apps.dhaka.cf-app.com
This action impacts all apps using this route.
Deleting this route will make apps unreachable via this route.
Really delete the route apps.url.cf-app.com? [yN]:n
'apps.dhaka.cf-app.com' has not been deleted.

Service

$ cf delete-service hello-scaler
This action impacts all resources scoped to this service instance, including service bindings, service keys and route bindings.
This will remove the service instance from any spaces where it has been shared.
Really delete the service instance hello-scaler? [yN]:
Delete cancelled

Service Binding

cf unbind-service hello-spring-cloud hello-scaler
Unbinding app hello-spring-cloud from service hello-scaler in org dftest / space temp as daniel.fein@company.com...
OK