---
title: "close one specific connection"
method: DELETE
path: "/connection/{clusterId}/{ip}/{port}"
tags: ["connection"]
---

# close one specific connection

`DELETE /connection/{clusterId}/{ip}/{port}`

## Path parameters

- `clusterId` string, required
- `ip` string, required
- `port` string, required

## Query parameters

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

## Response `200`

closed connection

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

## Other responses

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

## Changes

- **2017-07-06** `fb9ff336c556` — 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/connection/:clusterId/:ip/:port/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)
