expiry date on API

You're using the generate key API. That will not update existing keys. This is the function you're looking for: https://wyday.com/limelm/help/api/limelm.pkey.setDetails/