Skip to main content

octopus tenant create

octopus tenant create​

Create a new tenant

Synopsis​

Initiate tenant provisioning as a deferred saga.

By default the command waits for the saga to complete before returning. Use --detach to return immediately with the execution ID.

octopus tenant create [flags]

Examples​

octopus tenant create --name acme-bank --display-name "Acme Bank"
octopus tenant create --name acme-bank --display-name "Acme Bank" --detach
octopus tenant create --name acme-bank --display-name "Acme Bank" -o json
octopus tenant create --name acme-bank --display-name "Acme Bank" -c 019d7aa6-e149-7e31-abb8-41de97022c96

Options​

--detach Return immediately without waiting for the saga to complete
--display-name string Human-readable display name
-h, --help help for create
--name string Tenant name (used as code)

Options inherited from parent commands​

-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output

SEE ALSO​