# ccp delete



{/* Generated by scripts/sync-cli-reference.ts */}

Permanently delete a declarative resource

```text
Usage: ccp delete [OPTIONS] --file <FILE>
```

| Argument   | Type or values | Default | Parser environment variable | Description                                              |
| ---------- | -------------- | ------- | --------------------------- | -------------------------------------------------------- |
| --yes, -y  | flag           | false   | —                           | Confirm this destructive operation                       |
| --file     | path           | —       | —                           | Manifest file to delete                                  |
| --org-id   | text           | —       | —                           | Organization ID (defaults to `CCP_ORG_ID` or the picker) |
| --dry-run  | flag           | false   | —                           | Preview the deletion without changing durable state      |
| --help, -h | flag           | —       | —                           | Print help                                               |

## Example [#example]

```bash
ccp delete --file agent.yaml --dry-run
```

## Global options [#global-options]

Set `CCP_CONTEXT` to choose a named context. An explicit `--context` takes precedence. See [organization selection](/docs/ccp/organizations) for organization defaults.

| Argument  | Type or values | Default | Parser environment variable | Description                                         |
| --------- | -------------- | ------- | --------------------------- | --------------------------------------------------- |
| --context | text           | —       | —                           | Select a developer context from \~/.ccp/config.toml |
