Command 'remove-space'

See also: add-space, spaces, reload-spaces, rename-space, show-space

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:

juju remove-space db-space

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

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.


Last updated 1 year, 8 days ago. Help improve this document in the forum.