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

ArgumentRequired
uidYes

Flags

FlagTypeDefaultDescription
--operatorstringOperator slug (required)
--yesbooleanConfirm 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.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on