ktm collections move
Learn how to use the ktm collections move command to reparent a collection under a new parent UID via the CLI.
Reparent a collection under a new parent UID
Usage
ktm collections move <uid> [flags]
Examples
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
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on