tctl version-next namespace command reference
The tctl namespace
commands enable NamespaceWhat is a Namespace?
A Namespace is a unit of isolation within the Temporal Platform
Learn more operations.
Alias: n
delete
The tctl namespace delete
command deletes a NamespaceWhat is a Namespace?
A Namespace is a unit of isolation within the Temporal Platform
Learn more.
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
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
The tctl namespace list
command lists all NamespacesWhat is a Namespace?
A Namespace is a unit of isolation within the Temporal Platform
Learn more.
tctl namespace list
The command has no modifiers.
register
The tctl namespace register
command registers a NamespaceWhat is a Namespace?
A Namespace is a unit of isolation within the Temporal Platform
Learn more.
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.
- --active-cluster
- --clusters
- --description
- --global-namespace
- --history-archival-state
- --history-uri
- --namespace-data
- --owner-email
- --retention
- --visibility-archival-state
- --visibility-uri
update
The tctl namespace update
command updates a NamespaceWhat is a Namespace?
A Namespace is a unit of isolation within the Temporal Platform
Learn more.
tctl namespace update
The following modifiers are supported and control the behavior of the command. Always include required modifiers when executing this command.