Skip to content

modify-group ​

Modifies a group. An option that is not specified leaves the current value of the group unchanged.

Syntax:

shell
sfiler-admin [options] modify-group [command options]
Command optionsRequired/OptionalDescription
-nRequiredGroup name (ex: internal-employees)
-renameOptionalNew name of the group
-fOptionalDescription (ex: Internal employees)
-upOptionalHow this group affects the permission of its members to upload files (possible values are: ALLOW, DENY, UNSPECIFIED).
-dpOptionalHow this group affects the permission of its members to download files (possible values are: ALLOW, DENY, UNSPECIFIED).
-aupOptionalHow this group affects the permission of its members to send files to email recipients with the "Quick Send" feature (possible values are: ALLOW, DENY, UNSPECIFIED).
-scpOptionalHow this group affects the permission of its members to create shares (possible values are: ALLOW, DENY, UNSPECIFIED).
-rfpOptionalHow this group affects the permission of its members to request files (possible values are: ALLOW, DENY, UNSPECIFIED).
-tOptionalTheme to use for users of this group. The empty value uses the default theme of the web interface. To set an empty value, use -t "".
-asOptionalTrue or False: Set to True to allow the group to be used as sender when sending a file to an email recipient.
-snOptionalThe group sender name to use in the email when the group is used to upload a file. Required when -as is True.
-mpOptionalThe MFA policy (possible values are: ENFORCED, OPTIONAL, NONE).

Example:

shell
sfiler-admin.sh -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ modify-group -n "my-group" -f "My new group description" -scp ALLOW -mp NONE
shell
sfiler-admin.exe -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ modify-group -n "my-group" -f "My new group description" -scp ALLOW -mp NONE