ktm tests delete

Soft-delete one or more tests (move to trash; recoverable via 'tests undelete')

Soft-delete one or more tests (move to trash; recoverable via 'tests undelete')

Usage

ktm tests delete <id>... [flags]

Examples

ktm tests delete 99 --yes
ktm tests delete 99 100 101 --yes
ktm tests delete 117 --kind 2 --yes           # reusable

Arguments

ArgumentRequired
idYes

Flags

FlagTypeDefaultDescription
--kindint1Test kind: 1=test (default), 2=reusable
--yesbooleanConfirm the soft-delete

Details

Sends tests to the product's test-trash collection. Despite the "delete" name this is reversible — run 'ktm tests undelete <id>' to pull a test back out of trash. The platform supports an admin 'empty trash' action that purges the trash permanently; that is out of scope for this CLI.

--kind selects which kind of test to delete: 1 regular test (default) 2 reusable test

Refuses without --yes.

Notes

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