Was this helpful?

API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:

/environments

Description: List all environments in an organization

Verb: GET
Auth: Basic Auth

Overview: List all environments in an organization by name. By default, a Apigee organization contains two environments--test and prod.

Sample Request:
$ curl -X GET -H "Accept:application/json" \ 
https://api.enterprise.apigee.com/v1/o/{org_name}/environments \
-u myname:mypass
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

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)