---
title: "Unlink Gl Journal Entry"
method: DELETE
path: "/bank-entry-gl-journals/{link_id}"
tags: ["reconciliation"]
---

# Unlink Gl Journal Entry

`DELETE /bank-entry-gl-journals/{link_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/bank-entry-gl-journals/{link_id}`
- Auth: none declared

Detach a **natively-posted GL journal entry** from a bank movement (ZET-162).

Removes the native journal plane's link only — the GL entry itself is untouched
(it is a posted booking; reverse it through the ledger if the booking itself is
wrong). ``link_id`` is the ``link_id`` of a row in ``get_bank_entry``'s
``links.gl_journal_entries``. This plane never carries a payment of its own, so
unlinking is always safe; the match status is recomputed afterwards.

⚠️ **A link with ``transfer_bank_entry_id`` set is one half of an internal-transfer
pairing (ZET-435)**: removing it UNDOES THE PAIR — the other movement's link goes too
and BOTH movements go back on suspense (answer ``"Unpaired"``). Nothing is posted or
reversed either way.

## Path parameters

- `link_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)
