---
search:
  tags:
    - dcs-clusters
    - POST
seo:
  description: >-
    Checks the change of how the members of a… Reference for the POST
    /api/v1/dcs-clusters/{id}/network/preflight endpoint in the TimescaleDB
    Enterprise API.
sidebar:
  label: Check a DCS network change
  badge: POST
title: Check a DCS network change
type: openapi-operation
---
Checks the change of how the members of a standalone DCS cluster reach the console: through a relay zone, or directly. Each member gets the rows of preflight-database-service-network. Rejected with 409 when a service of the DCS cluster is in another network than the target: change the network of the service first, or with with_dcs_cluster.

`POST /api/v1/dcs-clusters/{id}/network/preflight`

**Request body** (`application/json`, required)

- `console_address` (string) — For servers that reach the console directly: the IPv4 address of the console, for servers that cannot resolve the host name of the console by DNS. Not together with relay\_zone\_id.
- `relay_zone_id` (string) — The relay zone through which the servers reach the console. Empty: the servers reach the console directly.

Request body example:

```json
{
  "console_address": "string",
  "relay_zone_id": "string"
}
```

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "servers": [
    {
      "checks": [
        {
          "check": "string",
          "detail": "string",
          "status": "pass"
        }
      ],
      "role": "string",
      "server_id": "string",
      "server_name": "string"
    }
  ]
}
```
