# delete

## Usage

```bash
bdy target delete|rm [options] <identifier>
```

## Arguments

| **Argument** | **Description** |
| :--- | :--- |
| `identifier` | Target identifier (required) |

## Options

| **Option** | **Description** |
| :--- | :--- |
| `-w, --workspace <domain>` | Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE |
| `-p, --project <name>` | Project name. Can be set via variable: BUDDY_PROJECT |
| `--pipeline <identifier>` | Pipeline identifier to scope the target to. Requires --project |
| `--environment <identifier>` | Environment identifier to scope the target to. Resolves a workspace environment; add --project to point at a project environment |
| `-f, --force` | Skip confirmation prompt |
| `-h, --help` | display help for command |

## Examples

### Delete target

```bash
bdy tg rm target-identifier
```

### Delete target and automatically confirm deletion

```bash
bdy tg rm target-identifier -f
```


---
Original source: https://buddy.works/docs/cli/target/delete