Administration

organization.migration.cutover

Commit a verified destination's staged records in one database transaction after checking references. Requires acknowledgeRetainedState true because Redis/EVE conversation state and source backups are not transferred or purged. A source remains read-only and retains its records after explicit cutover; deleting it requires separate company.close.

POST/api/v1/accounting/organization.migration.cutover

Permissions

accounting:readaccounting:writeaccounting:admin

Who can call it

admin

Retries

No idempotency key

MCP

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

Fields

  • idstring (ID)Required

    The record's ID.

  • destinationVerifiedboolean
  • acknowledgeRetainedStateboolean

    Default false

Example

curl https://app.getoatmilk.com/api/v1/accounting/organization.migration.cutover \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"
}'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

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

More in Administration.