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

# close one specific connection

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

## Path parameters

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

## Query parameters

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

## Response `200`

closed connection

- ClusterConnectionReport[]
  - `id` integer, required

## Other responses

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

## Changes

- **2017-06-22** `384394e3aacd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/datastax/apis/simulacron-rest-api/changes/connection/: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/5fb23a6e43ba/schema)
