<a id="command-juju-disabled-commands"></a>

# `juju disabled-commands`

> See also: [disable-command](https://documentation.ubuntu.com/juju/4.0/reference/juju-cli/list-of-juju-cli-commands/disable-command.md#command-juju-disable-command), [enable-command](https://documentation.ubuntu.com/juju/4.0/reference/juju-cli/list-of-juju-cli-commands/enable-command.md#command-juju-enable-command)

**Aliases:** list-disabled-commands

## Summary

Lists disabled commands.

## Usage

```text
juju disabled-commands [options]
```

### Options

| Flag                       | Default   | Usage                                                                      |
|----------------------------|-----------|----------------------------------------------------------------------------|
| `-B`, `--no-browser-login` | false     | Do not use web browser for authentication                                  |
| `--all`                    | false     | Lists for all models (administrative users only)                           |
| `--format`                 | tabular   | Specify output format (json|tabular|yaml)                                  |
| `-m`, `--model`            |           | Model to operate in. Accepts [<controller name>:]<model name>|<model UUID> |
| `-o`, `--output`           |           | Specify an output file                                                     |

## Details

Lists disabled commands for the model.

Commands that can be disabled are grouped based on logical operations as follows:

`destroy-model` prevents:

```none
destroy-controller
destroy-model
```

`remove-object` prevents:

```none
destroy-controller
destroy-model
detach-storage
remove-application
remove-machine
remove-relation
remove-saas
remove-storage
remove-unit
```

`all` prevents:

```none
add-machine
integrate
add-unit
add-ssh-key
add-user
attach-resource
attach-storage
change-user-password
config
consume
deploy
destroy-controller
destroy-model
disable-user
enable-user
expose
import-filesystem
import-ssh-key
model-defaults
model-config
reload-spaces
remove-application
remove-machine
remove-relation
remove-ssh-key
remove-unit
remove-user
resolved
retry-provisioning
run
scale-application
set-application-base
set-credential
set-constraints
sync-agents
unexpose
refresh
upgrade-model
```
