# nodus delete

> Delete resources

Source: https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_delete/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

## nodus delete

Delete resources

```plaintext
nodus delete KIND/NAME... | -f FILE [flags]
```

### Examples

```plaintext
  nodus delete job/finetune --wait
  nodus delete -f job.yaml
```

### Options

```plaintext
      --cascade string     background, foreground or orphan (default "background")
  -f, --filename strings   Manifests naming the resources to delete
  -h, --help               help for delete
      --ignore-not-found   Succeed when a resource is already gone
  -l, --selector string    Label selector
      --timeout duration   How long --wait waits (default 10m0s)
      --wait               Wait until the resources are gone (finalizers cleared)
```

### Options inherited from parent commands

```plaintext
      --context string   Context from the config file to use
      --org string       Organization (selects the context for that org)
  -p, --project string   Project to work in
  -v, --verbose          Log each API request (never credentials)
```

### SEE ALSO

* [nodus](https://nodus-platform-site.pages.dev/docs/reference/cli/nodus/) - Run compute Jobs on Nodus

### Tested examples

These invocations run in CI against the CLI’s fake API.

Terminal window

```sh
nodus delete job/train
nodus delete job/train --ignore-not-found
nodus delete job/train --wait
nodus delete sshkey laptop
```
