---
title: "ktm collections move"
description: "Learn how to use the ktm collections move command to reparent a collection under a new parent UID via the CLI."
sidebarTitle: "move"
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 */}

Reparent a collection under a new parent UID

## Usage

```bash
ktm collections move <uid> [flags]
```

## Examples

```bash
ktm collections move --operator my-op <uid> --new-parent <new_parent_uid>
```

## Arguments

| Argument | Required |
| --- | --- |
| `uid` | Yes |

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--new-parent` | string |  | Target parent collection UID (required) |
| `--operator` | string |  | Operator slug (required) |

## Details

Move the collection (and its entire sub-tree) under a new parent.
Cycles are rejected server-side. Use 'ktm collections move-items' instead when
you want to relocate a test or dashboard rather than a whole collection.

## Related

- [`ktm collections`](/cli/commands/collections)

<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>
