---
title: "tractorbeam disconnect"
description: "Disconnect a Connector."
sidebar:
  label: "disconnect"
  order: 14
---

Disconnect a Connector. Removing one from the Branch leaves it connected, so disconnect it first.

```sh
tractorbeam disconnect [flags] <connector>
```

| Argument | Description |
| --- | --- |
| `<connector>` | The Connector's name on the Branch. |

| Flag | Description |
| --- | --- |
| `--branch <string>` | Branch identifier or resource name where the Connector is defined. Defaults to the Workspace's default Branch. Environment variable: `TRACTORBEAM_BRANCH`. |
| `--config <string>` | The Project's `tractorbeam.config.ts`. Defaults to the one in the current directory or its nearest ancestor. |
| `--workspace <string>` | Workspace identifier or resource name. Environment variable: `TRACTORBEAM_WORKSPACE`. |
| `--origin <string>` | The Tractorbeam origin to call instead of the default, such as a proxy's. Environment variable: `TRACTORBEAM_ORIGIN`. |
| `--token <string>` | Access token. Defaults to the saved interactive session. Environment variable: `TRACTORBEAM_TOKEN`. |
