ktm collections delete
Learn how to use ktm collections delete to soft-delete a collection into the organization's trash, requiring the --yes confirmation flag.
Move a collection to the organisation's trash (soft-delete)
Usage
ktm collections delete <uid> [flags]
Examples
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
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on