<a id="command-juju-remove-space"></a>

# `juju remove-space`

> See also: [add-space](https://documentation.ubuntu.com/juju/3.6/reference/juju-cli/list-of-juju-cli-commands/add-space.md), [spaces](https://documentation.ubuntu.com/juju/3.6/reference/juju-cli/list-of-juju-cli-commands/spaces.md), [reload-spaces](https://documentation.ubuntu.com/juju/3.6/reference/juju-cli/list-of-juju-cli-commands/reload-spaces.md), [rename-space](https://documentation.ubuntu.com/juju/3.6/reference/juju-cli/list-of-juju-cli-commands/rename-space.md), [show-space](https://documentation.ubuntu.com/juju/3.6/reference/juju-cli/list-of-juju-cli-commands/show-space.md)

## Summary

Remove a network space.

## Usage

`juju remove-space [options] <name>`

### Options

| Flag                       | Default   | Usage                                                                      |
|----------------------------|-----------|----------------------------------------------------------------------------|
| `-B`, `--no-browser-login` | false     | Do not use web browser for authentication                                  |
| `--force`                  | false     | remove the offer as well as any relations to the offer                     |
| `-m`, `--model`            |           | Model to operate in. Accepts [<controller name>:]<model name>|<model UUID> |
| `-y`, `--yes`              | false     | Do not prompt for confirmation                                             |

## Examples

Remove a space by name:

```none
juju remove-space db-space
```

Remove a space by name with force, without need for confirmation:

```none
juju remove-space db-space --force -y
```

## Details

Removes an existing Juju network space with the given name. Any subnets
associated with the space will be transferred to the default space.
The command will fail if existing constraints, bindings or controller settings
are bound to the given space.

If the `--force` option is specified, the space will be deleted even
if there are existing bindings, constraints or settings.
