---
title: "Remove a connection"
method: DELETE
path: "/connections/{connection_id}"
tags: ["Connections"]
---

# Remove a connection

`DELETE /connections/{connection_id}`

## Request

- Base URL: `https://www.saltedge.com/api/v5`
- URL: `https://www.saltedge.com/api/v5/connections/{connection_id}`
- Auth: API key in header `App-id` and API key in header `Secret`
- TypeScript: <https://skmtc.dev/saltedge/apis/salt-edge-account-information-api/docs/connections/:connection_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a connection from our system and revokes the consent.
All the associated accounts and transactions to that connection will be destroyed as well.
Salt Edge will send a [destroy](#destroy) callback to your web application. Make sure to specify the `Destroy URL` in your client account by accessing <a href='https://www.saltedge.com/clients/callbacks/edit' target="_blank">callbacks page</a>.

## Path parameters

- `connection_id` string, required: `id` of the connection

## Response `200`

OK

- RemovedConnectionResponse
  - `data` object, required
    - `id` string: `id` of the connection
    - `removed` boolean

## Other responses

- `404`: We could not find a connection with the requested `connection_id`
- `406`: Too many connections are being processed at the same time from one application

## Changes

> 17 revisions in range; 1 not diffed.

- **2021-07-29** `9eda9646ec8c`: 6 breaking, 8 info
  - the `request` response's property type changed from `string` to `object` for status `404`
  - the `request` response's property type changed from `string` to `object` for status `406`
  - removed the required property `error_class` from the response with the `404` status
  - removed the required property `error_class` from the response with the `406` status
  - …10 more

[Operation history](https://skmtc.dev/saltedge/apis/salt-edge-account-information-api/changes/connections/:connection_id/delete.md)

---

[API](https://skmtc.dev/saltedge/apis/salt-edge-account-information-api.md) - [All operations](https://skmtc.dev/saltedge/apis/salt-edge-account-information-api/llms.txt) - [OpenAPI document](https://skmtc.dev/saltedge/apis/salt-edge-account-information-api/revisions/acda2850de69?raw)
