Skip to main content

tctl version-next namespace command reference

The tctl namespace commands enable NamespaceLink preview icon

operations.

Alias: n

delete

The tctl namespace delete command deletes a NamespaceLink preview icon

.

tctl namespace delete

The following modifiers are supported and control the behavior of the command. Always include required modifiers when executing this command.

describe

The tctl namespace describe command describes a Namespace.

tctl namespace describe

Alias: d

The following modifiers are supported and control the behavior of the command. Always include required modifiers when executing this command.

--namespace-id

Specify the ID of a Namespace to describe.

This modifier is required unless the global --namespace modifier is specified (tctl --namespace <name> describe).

Example

tctl namespace describe --namespace-id <id>

Example results for a Global Namespace

$ tctl --ns canary-namespace n desc
Name: canary-namespace
Description: testing namespace
OwnerEmail: dev@yourtech.io
NamespaceData:
Status: REGISTERED
RetentionInDays: 7
EmitMetrics: true
ActiveClusterName: dc1
Clusters: dc1, dc2

list

Alias: l

The tctl namespace list command lists all NamespacesLink preview icon

.

tctl namespace list

The command has no modifiers.

register

The tctl namespace register command registers a NamespaceLink preview icon

.

tctl namespace register

By default, Temporal uses a "default" Namespace. Create and register a new Namespace with the following command:

tctl --namespace your-namespace namespace register
# OR using short alias
tctl --ns your-namespace n re

The following modifiers are supported and control the behavior of the command. Always include required modifiers when executing this command.

update

The tctl namespace update command updates a NamespaceLink preview icon

.

tctl namespace update

The following modifiers are supported and control the behavior of the command. Always include required modifiers when executing this command.