---
title: "Restore Account"
method: POST
path: "/api/openbanking/restore-account/{connection_id}"
tags: ["openbanking"]
---

# Restore Account

`POST /api/openbanking/restore-account/{connection_id}`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/openbanking/restore-account/{connection_id}`
- Auth: HTTP bearer

Restore a removed account. The consent was never revoked, so while it
is still live this needs no new bank authorisation: the connection
goes straight back to "active" and a sync is attempted. If the
consent lapsed while the account was removed, the connection is
surfaced as "expired" so the normal reconnect flow takes over.

## Path parameters

- `connection_id` string, uuid, required

## Response `200`

Successful Response

- RestoreAccountResponse
  - `connection_id` string, required
  - `status` string, required
  - `restored_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
