List Datacenters

List Datacenters

Lists all the datacenters of a vCenter.

Request
URI
GET
https://{api_host}//localhost/rest/external/v1/datacenters
COPY
Query Parameters
string
vcenter_id
Required

Virtual Center ID


Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "id": "datacenter-1",
        "name": "datacenter",
        "path": "/datacenter"
    }
]

401

User is not authenticated

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure