mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli): add coder users delete command (#10115)
This commit is contained in:
+1
@@ -11,6 +11,7 @@ SUBCOMMANDS:
|
||||
activate Update a user's status to 'active'. Active users can fully
|
||||
interact with the platform
|
||||
create
|
||||
delete Delete a user by username or user_id.
|
||||
list
|
||||
show Show a single user. Use 'me' to indicate the currently
|
||||
authenticated user.
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
coder v0.0.0-devel
|
||||
|
||||
USAGE:
|
||||
coder users delete <username|user_id>
|
||||
|
||||
Delete a user by username or user_id.
|
||||
|
||||
Aliases: rm
|
||||
|
||||
———
|
||||
Run `coder --help` for a list of global options.
|
||||
@@ -6,8 +6,6 @@ USAGE:
|
||||
Update a user's status to 'suspended'. A suspended user cannot log into the
|
||||
platform
|
||||
|
||||
Aliases: rm, delete
|
||||
|
||||
$ coder users suspend example_user
|
||||
|
||||
OPTIONS:
|
||||
|
||||
Reference in New Issue
Block a user