LATEST VERSION: 1.7 - RELEASE NOTES
Deleting a Service Instance
You can delete service instances using the cf CLI. Before doing so, you must remove any existing service keys and app bindings.
cf delete-service-key SERVICE-INSTANCE-NAME KEY-NAMEto delete the service key.
cf unbind-service APP-NAME SERVICE-INSTANCE-NAMEto unbind your app from the service instance.
cf delete-service SERVICE-INSTANCE-NAMEto delete the service instance.
$ cf delete-service-key my-cloudcache my-service-key $ cf unbind-service my-app my-cloudcache $ cf delete-service my-cloudcache
Deletions are asynchronous. Run
cf services to view the current status of the service instance deletion.