I raised this in GitHub a while back, I’ll raise it here too incase other Postman users want to upvote it.
I’d like to see the functionality to allow users to “lock” environment variables. That way we can call the postman.clearEnvironmentVariables() function to clear all environment variables with the exception of the “locked” ones.
Here’s how I’m currently doing that same thing in Postman now:
This would also be cool when sharing environments with other users in your team/workspace, so you can lock variables that cannot be over-written by members of your team.