Allow Users to "lock" certain Environment Variables so they're not overwritten/removed


#1

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:


#2

I really like this idea. I have been running into issues like this a lot more recently myself.


#3

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.