> This page is for Harmonic.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://mediakind.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mediakind.ferndocs.com/_mcp/server.

# Get region details for current instance

GET https://device.example.com:443/cluster1/vos-api/syndicate/v1/availableCloudRegions

Reference: https://mediakind.ferndocs.com/harmonic/api/vos/syndicate-cloud/get-region-details-current-instance

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Query parameters

- `refreshCache` (boolean, optional) — refreshCache

## Response

### 200

OK

- `list of com.harmonicinc.vos.syndicate.cloud.hms.model.region.Region`

## Errors

### 400 Bad Request Error

Failed to get available cloud regions caused by unexpected error

- `any`

### 401 Unauthorized Error

Unauthorized

- `any`

### 403 Forbidden Error

Forbidden

- `any`

### 404 Not Found Error

Not Found

- `any`

### 424 Failed Dependency Error

Failed to get available cloud regions caused by dependency issue

- `any`

## Types

### com.harmonicinc.vos.syndicate.cloud.hms.model.region.Region

- `apiName` (string, optional) — Region API name
- `availabilityZoneDetails` (list of com.harmonicinc.vos.syndicate.cloud.hms.model.region.AvailabilityZoneDetails, optional) — List of availability zone details
- `availabilityZones` (list of string, optional) — List of availability zones
- `displayName` (string, optional) — Display name
- `platform` (string, optional) — Platform type
- `regionAZCodes` (list of string, optional) — List of region API names with availability zones
- `regionID` (string, optional) — Region identifier

### com.harmonicinc.vos.syndicate.cloud.hms.model.region.AvailabilityZoneDetails

- `apiName` (string, optional) — Region API name
- `displayName` (string, optional) — Display name
- `physicalAzId` (string, optional) — Physical AZ ID

## Examples

**Response**

```json
[
  {
    "apiName": "string",
    "availabilityZoneDetails": [
      {
        "apiName": "string",
        "displayName": "string",
        "physicalAzId": "string"
      }
    ],
    "availabilityZones": [
      "string"
    ],
    "displayName": "string",
    "platform": "string",
    "regionAZCodes": [
      "string"
    ],
    "regionID": "string"
  }
]
```

**SDK Code**

```python
import requests

url = "https://device.example.com/cluster1/vos-api/syndicate/v1/availableCloudRegions"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://device.example.com/cluster1/vos-api/syndicate/v1/availableCloudRegions';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://device.example.com/cluster1/vos-api/syndicate/v1/availableCloudRegions"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://device.example.com/cluster1/vos-api/syndicate/v1/availableCloudRegions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://device.example.com/cluster1/vos-api/syndicate/v1/availableCloudRegions")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://device.example.com/cluster1/vos-api/syndicate/v1/availableCloudRegions', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://device.example.com/cluster1/vos-api/syndicate/v1/availableCloudRegions");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://device.example.com/cluster1/vos-api/syndicate/v1/availableCloudRegions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```