API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}
API Resource Path: /environments
List all environments in an organization
Verb: GET
Auth: Basic AuthList all environments in an organization by name. By default, a Apigee organization contains two environments--test and prod.
Sample Request:$ curl -u myname:mypass https://api.enterprise.apigee.com/v1/o/{org_name}/environments
Sample Response:
{
"List": {
"Item": [
"test",
"prod"
]
}
}
Response Payload Elements:
| Name | Description |
|---|---|
| List | A list of items (in this case environments) |
| Item | A list of environments by name |