GET https://api.getpostman.com/environments
The The response contains an array of environments' information containing the Requires API Key as /environments
endpoint returns a list of all environments that belong to you..name
, id
, owner
and uid
of each environment.
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"environments": [
{
"id": "5daabc50-8451-43f6-922d-96b403b4f28e",
"name": "Users API (prod)",
"createdAt": "2020-09-23T14:31:18.000Z",
"updatedAt": "2020-12-04T14:13:40.000Z",
"owner": "10016724",
"uid": "10016724-5daabc50-8451-43f6-922d-96b403b4f28e",
"isPublic": false
}
]
} |
ENDPOINTS