VMware Cloud Director API - GET-Organizations
GET /org
- Operation:
- GET /org
- Description:
-
Retrieve a list of organizations accessible to you.
The system administrator has access to all organizations.
- Since:
- 0.9
- Deprecated:
- 36.0
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
OrgListType
- Produce media type(s):
-
application/vnd.vmware.vcloud.orgList+xml
application/vnd.vmware.vcloud.orgList+json
- Output type:
- OrgListType
- Examples
-
- Request
-
HTTP 1.1
GET /api/org/
Headers:
x-vcloud-authorization: eVBkZn2wahPAU+IvbURo7ekslpuoHERMB2DZEFlJuHs=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 646
Content-Type: application/vnd.vmware.vcloud.orglist+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><OrgList
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/org/"
type="application/vnd.vmware.vcloud.orgList+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<Org
href="https://vcloud.example.com/api/org/7b832bc5-3d65-45a2-8d35-da28388ab80a"
name="Default"
type="application/vnd.vmware.vcloud.org+xml"/>
<Org
href="https://vcloud.example.com/api/org/a93c9db9-7471-3192-8d09-a8f7eeda85f9"
name="System"
type="application/vnd.vmware.vcloud.org+xml"/>
</OrgList>