github.com/nats-io/nsc@v0.0.0-20221206222106-35db9400b257/docs/nsc_delete_account.md (about) 1 ## nsc delete account 2 3 Delete an account and associated users 4 5 ### Synopsis 6 7 Delete an account and associated users 8 9 ``` 10 nsc delete account [flags] 11 ``` 12 13 ### Examples 14 15 ``` 16 nsc delete account -n name 17 nsc delete account -i 18 19 ``` 20 21 ### Options 22 23 ``` 24 -F, --force managed accounts must supply --force 25 -h, --help help for account 26 -n, --name string name of account to delete 27 -R, --revoke revoke users before deleting (default true) 28 -C, --rm-creds delete users creds 29 -D, --rm-nkey delete user keys 30 ``` 31 32 ### Options inherited from parent commands 33 34 ``` 35 --config-dir string nsc config directory 36 --data-dir string nsc data store directory 37 -i, --interactive ask questions for various settings 38 --keystore-dir string nsc keystore directory 39 -K, --private-key string Key used to sign. Can be specified as role (where applicable), 40 public key (private portion is retrieved) 41 or file path to a private key or private key 42 ``` 43 44 ### SEE ALSO 45 46 * [nsc delete](nsc_delete.md) - Delete imports and exports 47 48 ###### Auto generated by spf13/cobra on 25-Feb-2022