---
title: "Delete Storage Connection"
method: DELETE
path: "/storage-connections/{connection_id}"
tags: ["storage-connections"]
---

# Delete Storage Connection

`DELETE /storage-connections/{connection_id}`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/storage-connections/{connection_id}`
- Auth: none declared

Remove a connection (accountant/owner for a company-managed drive, else admin). 409 if
it is the last one still referenced by items.

The drive scans (cloud-drive ingest sources) over it are removed with it; documents they
ingested stay and only lose their link to the scan.

## Path parameters

- `connection_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- MsgResponse: The ``{"msg": "..."}`` envelope — the error contract and many successes.
  - `msg` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
