### Name

`kf delete` - Delete an App in the targeted space

### Synopsis

```
kf delete APP_NAME [flags]
```

### Description

Deletes an App and waits for it to be deleted. Deleting an App will remove associated deployment history, cluster logs, and Builds.

Things that won't be deleted:

- source code
- container images
- Routes
- service instances

  Apps may take a long time to delete if:
- there are still connections waiting to be served

- bindings fail to deprovision

- the cluster is in an unhealthy state

### Examples

```
  kf delete myapp
```

### Flags

`--async`
:   Don't wait for the action to complete on the server before returning

`-h, --help`
:   help for delete

### 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