user
This command is used to manage the users of the REST-API. This is the only way to manage users to keep the security more tight and the simplicity where it should be
User management
create
Create is used to create a new user. The password is prompted interactively upon creation.
apisense api user create admin
list (ls)
With the list (alias: ls) command you can list all users in the local database.

disable
Users are enabled by default and can access restricted endpoints. To disable them use the disable command

enable
If you want to re-enable a disabled use you can use the enable command

remove
Finally, to remove a user use the remove command

Last updated