history.rollback.previewMany
Preview rolling back up to 50 changes from History at once, newest first, with each change's plan and one previewFingerprint for history.rollback.applyMany. Nothing changes.
GETPOST
/api/v1/accounting/history.rollback.previewManyPermissions
accounting:read
Who can call it
admin, finance
Retries
Safe to retry: it only reads
MCP
accounting_history_rollback_preview_manyFields
idsarray of stringsRequired1–50 items · each Matches ^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|sig-[0-9]{1,19})$
Example
curl https://app.getoatmilk.com/api/v1/accounting/history.rollback.previewMany \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"11111111-1111-1111-1111-111111111111"
]
}'{
"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/history.rollback.previewMany
curl https://app.getoatmilk.com/api/v1/accounting/history.rollback.previewMany \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"11111111-1111-1111-1111-111111111111"
]
}'More in History and rollback.