Skip to content

delete-user ​

Deletes an internal user.

Syntax:

shell
sfiler-admin [options] delete-user [command options]
Command optionsRequired/OptionalDescription
-dOptionalThe ID of the domain of the user to delete. Default: 1
-nRequiredThe name of the user.
-fOptionalForces the deletion of the user and of all the shares they own. This option takes no value. Without it, the command fails if the user owns shares.

Example:

shell
sfiler-admin.sh -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ delete-user -n "my-user"
shell
sfiler-admin.exe -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ delete-user -n "my-user"