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 options | Required/Optional | Description |
|---|---|---|
| -n | Required | Group name (ex: internal-employees) |
| -rename | Optional | New name of the group |
| -f | Optional | Description (ex: Internal employees) |
| -up | Optional | How this group affects the permission of its members to upload files (possible values are: ALLOW, DENY, UNSPECIFIED). |
| -dp | Optional | How this group affects the permission of its members to download files (possible values are: ALLOW, DENY, UNSPECIFIED). |
| -aup | Optional | How 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). |
| -scp | Optional | How this group affects the permission of its members to create shares (possible values are: ALLOW, DENY, UNSPECIFIED). |
| -rfp | Optional | How this group affects the permission of its members to request files (possible values are: ALLOW, DENY, UNSPECIFIED). |
| -t | Optional | Theme 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 "". |
| -as | Optional | True or False: Set to True to allow the group to be used as sender when sending a file to an email recipient. |
| -sn | Optional | The group sender name to use in the email when the group is used to upload a file. Required when -as is True. |
| -mp | Optional | The 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 NONEshell
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