ktm tests archive
Archive a test (sets archived=true via PUT)
Archive a test (sets archived=true via PUT)
Usage
ktm tests archive <id> [flags]
Examples
ktm tests archive 99
Arguments
| Argument | Required |
|---|---|
id | Yes |
Details
Flips the test's archived flag to true. No other fields are changed. The test stays in its current collection — use 'tests delete' to move it to trash instead.
Uses PATCH with a minimal body (only {archived}). This avoids the fragile full-payload round-trip that can 500 on tests whose action types aren't in the CLI registry.
Notes
- Hides a test without deleting it; reversible with
ktm tests unarchive. To move a test to trash instead, usektm tests delete.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on