> 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.

# Update divitrack pool

PUT https://device.example.com:443/cluster1/vos-api/configure/v1/pools/{id}
Content-Type: application/json

Update divitrack pool by \{id}.

Reference: https://mediakind.ferndocs.com/harmonic/api/vos/configure-pool/update-divitrack-pool

## Authentication

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

## Request

### Path parameters

- `id` (string, required) — Unique identifier of a divitrack pool

### Body (application/json)

This endpoint expects a com.harmonicinc.vos.app.configure.model.pool.Pool.

- `divitrackIP` (string, optional) — IP address for the divitrack rate message
- `divitrackIpNetworkAddress` (string, optional) — Interface address for sending and receiving divitrack messages
- `divitrackPoolBitrate` (integer, optional) — Bitrate for the divitrack pool in bps
- `divitrackPoolId` (integer, optional) — Divitrack pool id
- `divitrackPoolLatencyMode` (enum, optional) — Latency mode for a divitrack pool
  - Allowed values: `DEFAULT`, `REDUCED`, `EXTENDED`
- `divitrackPort` (integer, optional) — Port for the divitrack rate message
- `downstreamComplexityIpDelay` (integer, optional) — Network delay for the downstream complexity message
- `downstreamIpDelay` (integer, optional) — Downstream network delay
- `id` (string, optional) — Unique identifier of a pool. If specified, pool source will not be created automatically (not applicable for /mux/v1/services API).
- `labels` (list of string, optional) — Labels attached to a pool for identification
- `maxSourcesDelay` (integer, optional) — Maximum sources delay
- `muxAddress` (list of string, optional) — IP addresses of the mux
- `name` (string, optional) — Display name of a pool
- `poolMode` (enum, optional) — Rate mode for the pool
  - Allowed values: `VBR`, `CBR`
- `stcIp` (string, optional) — IP address for the divitrack STC message
- `stcPort` (integer, optional) — Port for the divitrack STC message
- `upstreamIpDelay` (integer, optional) — Upstream network delay
- `useNominalBitrate` (boolean, optional) — Use the provisioned nominal bitrate by user in destination object. If this value is false or absent, nominal bitrate will be determined automatically. (For internal use)

## Response

### 200

Divitrack pool Updated

- `divitrackIP` (string, optional) — IP address for the divitrack rate message
- `divitrackIpNetworkAddress` (string, optional) — Interface address for sending and receiving divitrack messages
- `divitrackPoolBitrate` (integer, optional) — Bitrate for the divitrack pool in bps
- `divitrackPoolId` (integer, optional) — Divitrack pool id
- `divitrackPoolLatencyMode` (enum, optional) — Latency mode for a divitrack pool
  - Allowed values: `DEFAULT`, `REDUCED`, `EXTENDED`
- `divitrackPort` (integer, optional) — Port for the divitrack rate message
- `downstreamComplexityIpDelay` (integer, optional) — Network delay for the downstream complexity message
- `downstreamIpDelay` (integer, optional) — Downstream network delay
- `id` (string, optional) — Unique identifier of a pool. If specified, pool source will not be created automatically (not applicable for /mux/v1/services API).
- `labels` (list of string, optional) — Labels attached to a pool for identification
- `maxSourcesDelay` (integer, optional) — Maximum sources delay
- `muxAddress` (list of string, optional) — IP addresses of the mux
- `name` (string, optional) — Display name of a pool
- `poolMode` (enum, optional) — Rate mode for the pool
  - Allowed values: `VBR`, `CBR`
- `stcIp` (string, optional) — IP address for the divitrack STC message
- `stcPort` (integer, optional) — Port for the divitrack STC message
- `upstreamIpDelay` (integer, optional) — Upstream network delay
- `useNominalBitrate` (boolean, optional) — Use the provisioned nominal bitrate by user in destination object. If this value is false or absent, nominal bitrate will be determined automatically. (For internal use)

### 201

Created

## Errors

### 400 Bad Request Error

Divitrack pool updated failed

- `any`

### 401 Unauthorized Error

Unauthorized

- `any`

### 403 Forbidden Error

Forbidden

- `any`

### 404 Not Found Error

Divitrack pool not found

- `any`

### 409 Conflict Error

Divitrack pool configuration conflict

- `any`

## Examples

### Example 1

**Request**

```json
{}
```

**Response**

```json
{
  "divitrackIP": "string",
  "divitrackIpNetworkAddress": "string",
  "divitrackPoolBitrate": 1,
  "divitrackPoolId": 1,
  "divitrackPoolLatencyMode": "DEFAULT",
  "divitrackPort": 1,
  "downstreamComplexityIpDelay": 1,
  "downstreamIpDelay": 1,
  "id": "string",
  "labels": [
    "string"
  ],
  "maxSourcesDelay": 1,
  "muxAddress": [
    "string"
  ],
  "name": "string",
  "poolMode": "VBR",
  "stcIp": "string",
  "stcPort": 1,
  "upstreamIpDelay": 1,
  "useNominalBitrate": true
}
```

**SDK Code**

```python
import requests

url = "https://device.example.com/cluster1/vos-api/configure/v1/pools/id"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://device.example.com/cluster1/vos-api/configure/v1/pools/id';
const options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{}'
};

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"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://device.example.com/cluster1/vos-api/configure/v1/pools/id"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	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/configure/v1/pools/id")

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

request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

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.put("https://device.example.com/cluster1/vos-api/configure/v1/pools/id")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://device.example.com/cluster1/vos-api/configure/v1/pools/id', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://device.example.com/cluster1/vos-api/configure/v1/pools/id");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://device.example.com/cluster1/vos-api/configure/v1/pools/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```

### Example 2

**Request**

```json
{}
```

**Response**

```json
{
  "divitrackIP": "string",
  "divitrackIpNetworkAddress": "string",
  "divitrackPoolBitrate": 1,
  "divitrackPoolId": 1,
  "divitrackPoolLatencyMode": "DEFAULT",
  "divitrackPort": 1,
  "downstreamComplexityIpDelay": 1,
  "downstreamIpDelay": 1,
  "id": "string",
  "labels": [
    "string"
  ],
  "maxSourcesDelay": 1,
  "muxAddress": [
    "string"
  ],
  "name": "string",
  "poolMode": "VBR",
  "stcIp": "string",
  "stcPort": 1,
  "upstreamIpDelay": 1,
  "useNominalBitrate": true
}
```

**SDK Code**

```python
import requests

url = "https://device.example.com/cluster1/vos-api/configure/v1/pools/id"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://device.example.com/cluster1/vos-api/configure/v1/pools/id';
const options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{}'
};

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"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://device.example.com/cluster1/vos-api/configure/v1/pools/id"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	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/configure/v1/pools/id")

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

request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

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.put("https://device.example.com/cluster1/vos-api/configure/v1/pools/id")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://device.example.com/cluster1/vos-api/configure/v1/pools/id', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://device.example.com/cluster1/vos-api/configure/v1/pools/id");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://device.example.com/cluster1/vos-api/configure/v1/pools/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```