Was this helpful?

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

API Resource Path:


Description: Get a list of named virual hosts for an environment.

Verb: GET
Auth: Basic Auth
Media types:

Overview: Every environment in Apigee has at least one virtual host. The virtual host defines the HTTP settings for connection with the Apigee organization. All API proxies in an environment share the same virtual hosts. This method returns the list of named virtual hosts. You can use the names from this list to get details for the virtual host.

Sample Request:
$ curl -X GET -H "Accept:application/json" \ 
https://api.enterprise.apigee.com/v1/o/{org_name}/environments/{env_name}/virtualhosts \
-u myname:mypass
Sample Response:
    "List": {
        "Item": "default"
Response Payload Elements:
Name Description
List A list of named virtual hosts
Item The name of a virtual in the environment specified in the request. For detail, do a GET on the named virtual host.

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?)