# namespaces set-active

## Synopsis

```shell
omics workbench namespaces set-active NAMESPACE_ID
```

## Description

Set the active namespace for the current user. The active namespace is the namespace used for all workbench operations. After setting the active namespace, all subsequent commands will operate within the context of the specified namespace. The command outputs the full namespace details as JSON upon success.

## Examples

Set the active namespace

```shell
omics workbench namespaces set-active bcd869ca-8a06-4426-a94d-43f9d91e937d
```

## Positional Arguments

### `NAMESPACE_ID`

**Required.** The namespace ID to set as the active namespace. The namespace ID can be retrieved from the [namespaces list](https://docs.omics.ai/products/command-line-interface/reference/workbench/namespaces-list) command.
