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.

Add new comment

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.