Updates a group.
The updateGroup() function returns a Promise that resolves to the updated group.
Only site admins and group admins can update their group.
Only the fields in the groupInfo object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
Notes:
suppressAuth option is set to true, all permissions are overwritten, and all site members (including non-group members) can update a group.privacyStatus is updated from PRIVATE to PUBLIC, all pending join requests for that group are automatically approved.privacyStatus is updated from PRIVATE to SECRET, all pending join requests for that group are automatically rejected.ID of group to update.
Group information to update.
Authorization options.