---
title: "Removes all leftover test connections. Any test connection currently running is excluded from deletion."
method: DELETE
path: "/connection/test"
tags: ["Connection"]
---

# Removes all leftover test connections. Any test connection currently running is excluded from deletion.

`DELETE /connection/test`

## Response `200`

Test connections have been cleaned up

- CleanupResult
  - `candidateSqlIds` integer
  - `mongoDeleted` integer
  - `sqlDeleted` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Error
- `502` — Bad Gateway

---

[API](https://skmtc.net/opencelium/apis/opencelium-api.md) · [All operations](https://skmtc.net/opencelium/apis/opencelium-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opencelium/opencelium-api/versions/82ed767ffb65/schema)
