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
| Argument | Required |
|---|---|
id | Yes |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--kind | int | 1 | Test kind: 1=test (default), 2=reusable |
--yes | boolean | Confirm 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
- Soft-deletes to trash, recoverable with
ktm tests undelete. To merely hide a test from listings, usektm tests archive.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on