---
title: "ktm test-campaigns update"
description: "Partial-update a Tests campaign (PATCH)"
sidebarTitle: "update"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

Partial-update a Tests campaign (PATCH)

## Usage

```bash
ktm test-campaigns update <id> [flags]
```

## Examples

```bash
ktm test-campaigns update 42 --name "Regression v2"
ktm test-campaigns update 42 --test-list @newlist.json
```

## Arguments

| Argument | Required |
| --- | --- |
| `id` | Yes |

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--description` | string |  | New description |
| `--name` | string |  | New name |
| `--test-list` | string |  | JSON file (or '-') replacing the current test_list |

## Details

Apply a partial update. Any combination of --name, --description, or
--test-list is allowed. If --test-list is given it fully replaces the
current test_list (existing entries are replaced).

## Related

- [`ktm test-campaigns`](/cli/commands/test-campaigns)

<Note>
  Global flags (`--output`, `--debug`, `--host`, …) apply to every command. See the [command reference overview](/cli/commands/overview).
</Note>

## What's next?

<Columns cols={2}>
  <Card title="All commands" icon="terminal" href="/cli/commands/overview">
    Browse the full CLI reference.
  </Card>
  <Card title="Get started" icon="rocket" href="/cli/getting-started">
    Install the CLI and authenticate.
  </Card>
</Columns>
