---
title: "Delete warehouse connection"
method: DELETE
path: "/warehouse-connections/{id}"
tags: ["Warehouse Sync"]
---

# Delete warehouse connection

`DELETE /warehouse-connections/{id}`

## Request

- Base URL: `https://api.sequenzy.com/api/v1`
- URL: `https://api.sequenzy.com/api/v1/warehouse-connections/{id}`
- Auth: HTTP bearer

Deletes a connection and its stored credentials. Returns 409 while syncs still use it. Requires warehouse:delete.

## Path parameters

- `id` string, required

## Response `200`

Connection deleted

- object
  - `success` boolean
  - `connectionId` string

## Other responses

- `401`: Unauthorized
- `403`: Missing scope, or the member role cannot manage workspace settings
- `404`: Not found
- `409`: The connection is used by syncs (code connection_in_use)

## Changes

- **2026-10-16** `db3873ca3d4d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/warehouse-connections/:id/delete.md)

---

[API](https://skmtc.dev/sequenzy/apis/sequenzy-api.md) - [All operations](https://skmtc.dev/sequenzy/apis/sequenzy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sequenzy/apis/sequenzy-api/revisions/8156dc12d8b4?raw)
