# organization.migration.retention

Record an administrator confirmation, with evidence, for one required source retention audit item after data transfer. Tracks source database, stored files, Redis, EVE transcripts, backups, provider credentials and identity access. This is an operator attestation, not an automatic purge or verification; sourceRemovalComplete is true only after every item is confirmed.

`POST /api/v1/accounting/organization.migration.retention`

Permissions: `accounting:read`, `accounting:write`, `accounting:admin` · Roles: admin

Not available over MCP: Organization data moves need administrator sign-ins at both installations and an explicit cutover in Settings or the CLI.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | string (ID) | Yes | The record's ID. |
| `item` | enum | Yes | One of: `sourceDatabase`, `sourceStorage`, `sourceRedis`, `sourceEve`, `sourceBackups`, `providerCredentials`, `identityAccess`. |
| `evidence` | string | Yes | 10–1000 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/organization.migration.retention \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "item": "sourceDatabase",
  "evidence": "example example"
}'
```

Reference page: https://app.getoatmilk.com/docs/api/organization.migration.retention
