Support PATCH on Environment API

Using PUT is really tedious on the Postman API as I have to pull the entire object, modify it in script in the json, then compose a PUT and do an asynchronous PUT back,

All of this when I just wanted to update one property (An OAUTH REFRESH token in an environment).

I so often feel like Iโ€™m jumping through hoops building infrastructure with postman where you guys donโ€™t prioritize usability for complex cases but are satisfied when something becomes just about possible.

I really just want pm.environment.Update() in script and have you guys do all this work behind the scenes, but PATCH and explicit __id properties on the pm.environment object would at least make it less custom setup and code.

1 Like