Logo

Command Palette

Search for a command to run...

GET/clouds/:cloud_id
Get Cloudredeploy

Required Parameters

cloud_idstring
The cloud ID (name)

Retrieves details for a specific cloud provider, including available regions and server sizes for that provider.

Related Models:Cloud

Request

GET
/clouds/:cloud_id
curl -X GET \
  "https://app.cloud66.com/api/3/clouds/:cloud_id" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json"

Response

{
  "response": {
    "name": "digitalocean",
    "display_name": "DigitalOcean",
    "regions": [
      {
        "id": "ams1",
        "name": "Amsterdam, Netherlands",
        "old_id": "2"
      },
      {
        "id": "ams2",
        "name": "Amsterdam 2, Netherlands",
        "old_id": "5"
      },
      {
        "id": "nyc1",
        "name": "New York 1, USA",
        "old_id": "1"
      }
    ],
    "server_sizes": [
      {
        "id": "512mb",
        "name": "512MB / 1 CPU"
      },
      {
        "id": "1gb",
        "name": "1GB / 1 CPU"
      },
      {
        "id": "2gb",
        "name": "2GB / 1 CPU"
      }
    ]
  }
}
GET/clouds
List Cloudsredeploy

Retrieves a list of all supported cloud providers, including their available regions and server sizes.

Related Models:Cloud

Request

GET
/clouds
curl -X GET \
  "https://app.cloud66.com/api/3/clouds" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json"

Response

{
  "response": [
    {
      "name": "aws",
      "display_name": "AWS",
      "regions": [
        {
          "id": "us-east-1",
          "name": "US East (Northern Virginia)"
        },
        {
          "id": "us-west-1",
          "name": "US West (Northern California)"
        }
      ],
      "server_sizes": [
        {
          "id": "t2.micro",
          "name": "General purpose (t2.micro)"
        },
        {
          "id": "t2.small",
          "name": "General purpose (t2.small)"
        }
      ]
    },
    {
      "name": "digitalocean",
      "display_name": "DigitalOcean",
      "regions": [
        {
          "id": "ams1",
          "name": "Amsterdam, Netherlands",
          "old_id": "2"
        }
      ],
      "server_sizes": [
        {
          "id": "512mb",
          "name": "512MB / 1 CPU"
        }
      ]
    }
  ]
}