ktm collections create
Learn how to use the ktm collections create command to add a new sub-collection under a specified parent collection UID.
Create a new sub-collection under --parent
Usage
ktm collections create [flags]
Examples
ktm collections create --operator my-op --parent <parent_uid> --name "Auth regression"
ktm collections create --operator my-op --parent <tests_root> --name "Smoke" -o json | jq .uid
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--name | string | Name for the new collection (required) | |
--operator | string | Operator slug (required) | |
--parent | string | Parent collection UID (required) |
Details
Create a collection as a child of --parent. Both operator and parent UID are required; the new collection inherits the operator's org_id.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on