Hi,
You can update environment variables in Windows 11 without rebooting your system.
Try this:
Open Command Prompt as an administrator.
Run the command setx API_KEY "your_new_api_key".
To refresh the environment variables, run the command refreshenv
Refresh Environment Variables in Windows 11 (Without Reboot)
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.