---
title: "close the connections to the datacenter"
method: DELETE
path: "/connections/{clusterId}/{dataCenterId}"
tags: ["connections"]
---

# close the connections to the datacenter

`DELETE /connections/{clusterId}/{dataCenterId}`

## Path parameters

- `clusterId` string, required
- `dataCenterId` string, required

## Query parameters

- `type` 'disconnect' | 'shutdown_read' | 'shutdown_write'

## Response `200`

closed connections

- ClusterConnectionReport
  - `id` integer, required
  - `data_centers` DataCenterConnectionReport[], required — unresolved $ref

## Other responses

- `404` — Datacenter not found
- `500` — Internal server error

## Changes

- **2017-06-22** `384394e3aacd` — 1 info
  - endpoint added
- **2017-04-21** `ce1bef505fa2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/datastax/apis/simulacron-rest-api/changes/connections/:clusterId/:dataCenterId/delete.md)

---

[API](https://skmtc.dev/datastax/apis/simulacron-rest-api.md) · [All operations](https://skmtc.dev/datastax/apis/simulacron-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datastax/simulacron-rest-api/revisions/0a5cd5c466d5/schema)
