zato sso delete-user

Overview

Deletes an existing user. The action is irrevocable, it is not possible to undo it.

The command works with both regular and super-users. A confirmation prompt to confirm the deletion is shown if --yes is not given on input.

Check zato sso lock-user for a command that will lock a user account to prevent the user from logging in without deleting it entirely.

Usage examples

$ zato sso delete-user /home/zato/env/server1 user1
Delete user? `user1` [y/n] y
Deleted user `user1`
$
$ zato sso delete-user /home/zato/env/server1 user1
Delete user? `user1` [y/n] n
User `user1` kept intact
$
$ zato sso delete-user /home/zato/env/server1 user1 --yes
Deleted user `user1`
$