In order to renew the Web API access key before its expiration you can visit the following URL in order to generate a new one:
https://api.ecmwf.int/v1/key/update/xxxxxxxxxxxx
replacing the xxxxxxxxxxxx in the URL with the old access key.
Please remember to update your credentials in the "~/.ecmwfapirc" file and/or your scripts.
We also encourage to keep restricted access to "~/.ecmwfapirc" since it contains your access key for the ECMWF API.
For Linux, it is then recommended to restrict the file permissions by running the following command :
chmod 0600 ~/.ecmwfapirc