Get Cloud Accounts

Get Cloud Accounts

Get all cloud accounts within the current organization

Request
URI
GET
https://{api_host}/iaas/api/cloud-accounts
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Responses
200

successful operation

Returns CloudAccountResult of type(s) application/json
{
    "content": [
        {
            "id": "9e49",
            "createdAt": "2012-09-27",
            "updatedAt": "2012-09-27",
            "owner": "[email protected]",
            "organizationId": "deprecated",
            "orgId": "9e49",
            "_links": {
                "_links": {
                    "href": "string",
                    "hrefs": [
                        "string"
                    ]
                }
            },
            "name": "my-name",
            "description": "my-description",
            "cloudAccountType": "vsphere, aws, azure, nsxv, nsxt",
            "cloudAccountProperties": {
                "cloudAccountProperties": "string"
            },
            "enabledRegionIds": [
                "string"
            ],
            "customProperties": {
                "customProperties": "string"
            },
            "tags": [
                {
                    "key": "string",
                    "value": "string"
                }
            ]
        }
    ],
    "totalElements": 1
}
array of object
content
Optional

List of content items

integer As int64 As int64
totalElements
Optional

Total number of elements


403

Forbidden

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/iaas/api/cloud-accounts