CMN-0018: Attribute 'expiration_date' is read only.This is working as expected. The 'Expiration Date' cannot be extended once the key is created.
If required, the number of days for which a key can be kept functional can be extended via the 'Maximum expiration in days for API keys' field in the Classic UI > Administration > System Options page.