# delete-project

> Delete an existing project

Delete a project by ID or slug. Deletion is asynchronous and eventually consistent. Projects with delete protection enabled cannot be deleted until protection is disabled.

## Usage
```bash
unkey api projects delete-project [flags]
```
## Flags
<ParamField body="--project" type="string" required>Project ID or slug.</ParamField>
## Global Flags
| Flag | Type | Description |
|------|------|-------------|
| `--root-key` | string | Override root key (`$UNKEY_ROOT_KEY`) |
| `--api-url` | string | Override API base URL (default: `https://api.unkey.com`) |
| `--config` | string | Path to config file (default: `~/.unkey/config.toml`) |
| `--output` | string | Output format. Use `json` for raw JSON |
| `--body` | string | Send this JSON string as the request body. You cannot combine it with request-building flags. |
## Examples
```bash
unkey api projects delete-project --project=proj_1234abcd
```
See the [API reference](https://www.unkey.com/docs/api-reference/v2/projects/delete-project).
