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

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:

1 Like

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

1 Like

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.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.