---
search:
  tags:
    - dcs-clusters
    - POST
seo:
  description: >-
    Changes how the members of a standalone DCS cluster… Reference for the POST
    /api/v1/dcs-clusters/{id}/network endpoint in the TimescaleDB Enterprise
    API.
sidebar:
  label: Change the DCS network
  badge: POST
title: Change the DCS network
type: openapi-operation
---
Changes how the members of a standalone DCS cluster reach the console: through a relay zone, or directly. The members change one at a time, the etcd leader last, each only when every member is healthy and each service of the cluster has a Patroni leader. Each member restarts its mesh agent; etcd does not restart. A member that does not reach the console on the new path goes back to its old path, and the change stops. Run the change again to finish it, or with the old path to go back. The workflow is change_network; the status of the DCS cluster does not change. Rejected with 409 when a service of the DCS cluster is in another network than the target, or a check of preflight-dcs-cluster-network fails.

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

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

- `202` — Accepted
- `default` — Error

Response example, 202:

```json
{
  "workflow_id": "string"
}
```
