---
title: "ktm collections delete"
description: "Learn how to use ktm collections delete to soft-delete a collection into the organization's trash, requiring the --yes confirmation flag."
sidebarTitle: "delete"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

Move a collection to the organisation's trash (soft-delete)

## Usage

```bash
ktm collections delete <uid> [flags]
```

## Examples

```bash
ktm collections delete --operator my-op <uid>              # refuses without --yes
ktm collections delete --operator my-op --yes <uid>        # moves to trash
```

## Arguments

| Argument | Required |
| --- | --- |
| `uid` | Yes |

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--operator` | string |  | Operator slug (required) |
| `--yes` | boolean |  | Confirm irreversible delete |

## Details

Move the collection to the organisation's trash collection. The collection
and its items are recoverable until the trash is emptied (a separate admin
action). Despite the "delete" name this is NOT a hard delete.

The command still refuses without --yes because agents should confirm scope
before moving collections around.

## Related

- [`ktm collections`](/cli/commands/collections)

<Note>
  Global flags (`--output`, `--debug`, `--host`, …) apply to every command. See the [command reference overview](/cli/commands/overview).
</Note>

## What's next?

<Columns cols={2}>
  <Card title="All commands" icon="terminal" href="/cli/commands/overview">
    Browse the full CLI reference.
  </Card>
  <Card title="Get started" icon="rocket" href="/cli/getting-started">
    Install the CLI and authenticate.
  </Card>
</Columns>
