Create environment postman api with multiple workspaces

The Create Environment Postman API allows a workspace to be passed in as a query parameter, but if you have multiple workspaces and a workspace isn’t specified how does it determine what workspace to create the environment in?