Get all environments

View as Markdown
Gets information about all of your [environments](https://learning.postman.com/docs/sending-requests/managing-environments/).

Authentication

x-api-keystring
API Key authentication via header

Query parameters

workspacestringOptional
The workspace's ID.

Response

Successful Response
environmentslist of objects
A list of environments.

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error