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

FlagTypeDefaultDescription
--namestringName for the new collection (required)
--operatorstringOperator slug (required)
--parentstringParent 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.

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