# entries.hold.release.undo

Undo Oatmilk's pairing of money back on a card with the hotel hold it gave back, by the money back's releaseEntryId with an idempotencyKey. The pair is never made again, a card fee booked with the hold is a fee again, the money back is reviewed again, and a hold it resolved is open again. Finance access required; a closed month blocks it.

`POST /api/v1/accounting/entries.hold.release.undo`

Permissions: `accounting:read`, `accounting:write` · Roles: admin, finance · Idempotency key required

MCP tool: `accounting_entries_hold_release_undo`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `releaseEntryId` | string (ID) | Yes | The ID of the related record. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/entries.hold.release.undo \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "releaseEntryId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
}'
```

Reference page: https://app.getoatmilk.com/docs/api/entries.hold.release.undo
