Avisi cloud logo
Cloud accounts

List cloud accounts in an organisation.

GET
/api/v1/orgs/{organisationSlug}/cloud-accounts

Path Parameters

organisationSlug
Required
string

Query Parameters

display-namestring

Optional search parameter

cloud-provider-slugstring

Optional search parameter

curl -X GET "http://localhost:8090/api/v1/orgs/string/cloud-accounts?display-name=string&cloud-provider-slug=string"

Request was successfully processed. The response body contains the requested data.

{
  "totalElements": 0,
  "totalPages": 0,
  "content": [
    {
      "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
      "displayName": "string",
      "metadata": {
        "property1": "string",
        "property2": "string"
      },
      "cloudProfile": {
        "identity": "string",
        "displayName": "string",
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "cloudProvider": "string",
        "regions": [
          "string"
        ],
        "enabled": true,
        "type": "aws",
        "cloudProviderResponse": {
          "id": 0,
          "name": "string",
          "slug": "string",
          "available": true,
          "createdAt": "2019-08-24T14:15:22Z",
          "modifiedAt": "2019-08-24T14:15:22Z",
          "logo": "string",
          "byon": true,
          "type": "aws",
          "privateClusterSetting": "UNAVAILABLE",
          "metadata": {
            "property1": "string",
            "property2": "string"
          },
          "validateCloudCredentials": true
        },
        "cloudProviderRegionResponses": [
          {
            "id": 0,
            "provider": "string",
            "name": "string",
            "slug": "string",
            "available": true,
            "restricted": true,
            "createdAt": "2019-08-24T14:15:22Z",
            "modifiedAt": "2019-08-24T14:15:22Z"
          }
        ],
        "public": true
      },
      "enabled": true,
      "primaryCloudCredentialsIdentity": "962b660f-35b8-4ef0-9e6d-6f86f64922e0"
    }
  ],
  "number": 0,
  "size": 0,
  "first": true,
  "last": true,
  "sort": [
    {
      "direction": "string",
      "nullHandling": "string",
      "ascending": true,
      "property": "string",
      "ignoreCase": true
    }
  ],
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "sort": [
      {
        "direction": "string",
        "nullHandling": "string",
        "ascending": true,
        "property": "string",
        "ignoreCase": true
      }
    ],
    "paged": true,
    "pageNumber": 0,
    "pageSize": 0,
    "unpaged": true
  },
  "empty": true
}