---
title: "Undo"
method: POST
path: "/v1/ledger/{id}/undo"
tags: ["Today"]
---

# Undo

`POST /v1/ledger/{id}/undo`

## Request

- Base URL: `https://api.vicem.ai`
- URL: `https://api.vicem.ai/v1/ledger/{id}/undo`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

OK

- UndoRes
  - `undone` boolean, required
  - `reason` string

## Other responses

- `401`: Missing, expired or invalid bearer token.
- `404`: No such resource, or not visible to this caller.
- `413`: Body over the limit (64 KB; 512 KB for contact import).
- `500`: Unexpected server error (reported to Sentry).

---

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