Hi all,
I was asked by customer to help him with writing script to change expiration of local users. Our API from version 1.6.1 can handle this task quite easily.
There are two scripts:
Extend expiration of selected user: script_change_expiration_of_selected_user.sh
https://gist.github.com/chkp-mkoldov/1f2ea190c6888be3f46091f815813d73
Extend expiration of all local users: script_change_expiration_of_users.sh
https://gist.github.com/chkp-mkoldov/b030dc7cf5feb5230d4bfd77c4c1377b
Take this script as a skeleton. It might be changed in any kind of the manner.

Cheers Tomas