I've been working on a method to automate adding VPN users and for the most part it works. I started using the command to add a single user like below:
- mgmt_cli login --client-cert mycert.p12 -p secret > id.txt
- mgmt_cli add user name "JSNOW" email "email@example.com" expiration-date "2023-06-01" -s id.txt
- mgmt_cli publish -s id.txt
However, no matter what I try, the Expiration Data is not setting when I check in the GUI
I'm using API v1.6.1
Can anyone help me understand what I am missing to get the Expiration Data to show in the GUI?