> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly consul detach

Detach Consul cluster from an app, and unsetting the FLY\_CONSUL\_URL secret

## Usage

```
fly consul detach [flags]
```

## Options

```
  -a, --app string             Application name
  -c, --config string          Path to application configuration file
  -h, --help                   help for detach
      --variable-name string   The secret name that will be removed from the app. (default "FLY_CONSUL_URL")
```

## Global Options

```
  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly consul](/flyctl/cmd/fly_consul)	 - Enable and manage Consul clusters
