[Postman API] Fetching owned and "shared" environment with the API


We are using postman API to fetch collections and environments and executes them in a Jenkins Pipeline.
When we did the migration to the workspaces version of Postman, we were excited to see that now there is a feature to share environments between different accounts.
Thing is, when we call the API to fetch environments, only those who are owned with the API caller are returned.
Is there any workarround to call the API to fetch the owner environment AND the environment that was shared from other users?