This is an archive version of the document. To get the most up-to-date information, see the current version.

Get vCD Organizations

In this article

    You can get a representation of a collection of all vCloud Director Organizations available in Veeam Availability Console.

    Request

    To get all vCloud Director Organizations, send the GET HTTPS request to the URL of the /vcd/organizations collection.

    HTTP Request

    GET https://<Availability-Console>:1281/v2/vcd/organizations

    Request Headers

    The request header must contain the authorization token for the current logon session.

    Response

    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 200 Success.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTP headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the request body message: application/json; charset=utf-8

    Response Body

    In the response body, Veeam Availability Console returns a representation of the /vcd/organizations collection.

    Example Get vCD Organizations

    The following request returns all vCloud Director Organizations.

    Request:

    GET https://localhost:1281/v2/vcd/organizations

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    [

     {

       "organizationUid": "13a9493c-252c-4b38-b291-a5454839d3b3",

       "cloudConnectAgentUid": "41ca2bb4-7269-4bc2-b049-6647157d2edb",

       "organizationName": "Organization1",

       "vcdUid": "4cef7e63-f3de-4cc8-bf98-46dc15c8a043",

       "vcdName": "VAC_vCD",

       "dataCenterCount": 1,

       "_links": [

         {

           "rel": "self",

           "method": "GET",

           "href": "https://vac:1281/v2/vcd/organizations/13a9493c-252c-4b38-b291-a5454839d3b3"

         },

         {

           "rel": "related",

           "method": "GET",

           "href": "https://vac:1281/v2/vcd/organizations/13a9493c-252c-4b38-b291-a5454839d3b3/dataCenters"

         }

       ]

     },

     {

       "organizationUid": "41dee6d4-cc59-4825-bd76-163c2708e967",

       "cloudConnectAgentUid": "41ca2bb4-7269-4bc2-b049-6647157d2edb",

       "organizationName": "Organization2",

       "vcdUid": "4cef7e63-f3de-4cc8-bf98-46dc15c8a043",

       "vcdName": "VAC_vCD",

       "dataCenterCount": 0,

       "_links": [

         {

           "rel": "self",

           "method": "GET",

           "href": "https://vac:1281/v2/vcd/organizations/41dee6d4-cc59-4825-bd76-163c2708e967"

         }

       ]

     }

    ]

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.