ktm tests restore

Restore a test to a previous version

Restore a test to a previous version

Usage

ktm tests restore <history-id> [flags]

Examples

# Find history versions
ktm tests history 16480 --date 2026-03-06

# Restore to a specific version
ktm tests restore 42

Arguments

ArgumentRequired
history-idYes

Details

Restore a test to a historical version by its history ID. Use "tests history <test-id> --date <date>" to find available history IDs.

This is destructive — it overwrites the current test definition.

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