---
title: "Disconnect or restore one Plaid account"
method: PATCH
path: "/plaid/accounts/{plaidAccountId}"
tags: ["Bank Feeds"]
---

# Disconnect or restore one Plaid account

`PATCH /plaid/accounts/{plaidAccountId}`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/plaid/accounts/{plaidAccountId}`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Changes one account independently while keeping the institution Item connected. When the final active account is disconnected, a reversible 72-hour hold begins. Restoring any account cancels Item removal. Posted history and raw evidence are preserved. With importEnabled false and excludeWaitingRows true, the account's waiting rows are also excluded (each audited and restorable); posted and reconciled rows stay.

## Path parameters

- `plaidAccountId` string, uuid, required

## Request body

- object
  - `importEnabled` boolean, required
  - `excludeWaitingRows` boolean: With importEnabled false, also exclude this account's waiting rows

## Response `200`

Updated import state

## Other responses

- `default`: Error response

## Changes

- **2026-10-19** `b24cdfaa200e`: 1 info
  - added the new optional request property `excludeWaitingRows`

[Operation history](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/changes/plaid/accounts/:plaidAccountId/patch.md)

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
