How to use different Environments in one collection

I have a list of environments:

Use case:
The first API uses env1 and saves the data
Second API uses env2 and saves data

The only solution I was able to find is to use set.env function but why should I change the params in my envs if I already configured them and I need to use them on the same collection but in a different API request?

1 Like

Hi @technical-engineer16. Welcome to the Postman Community!

Why are you saving these variables in different environments since they’re both in the same collection? Is there any caveat to having them in the same environment?