> ## Documentation Index
> Fetch the complete documentation index at: https://wundergraphinc-brendan-add-sof-link.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Move

## Usage

```bash theme={null}
npx wgc federated-graph move <name> -n fromNS -t toNS
```

<Info>
  Moving a federated graph will result in a new graph composition but only subgraphs from the target namespace are respected.
</Info>

## Description

The `npx wgc federated-graph move` command allows you to move a federated-graph into a different namespace.

## Parameters

* `<name>`: The name of the federated-graph you want to move.

## Options

* `-n, --namespace` : The namespace of the federated-graph.

* `-t, --to`: The new namespace of the federated-graph.

* `--suppress-warnings`: This flag suppresses any warnings produced by composition.

## Examples

* Moves the federated-graph named "mygraph" into the "production" namespace.

  ```bash theme={null}
  npx wgc subgraph move mygraph -n default -t production
  ```
