Rename or describe a saved version

PATCH /api/v1/businesses/{business_id}/cfo-portal/cash-forecast/versions/{version_id}

Update a saved version's name or description.

Configuration and snapshot fields are immutable — save a new version to capture a new scenario.

Operation ID: cfo_portal_update_version_api_v1_businesses__business_id__cfo_portal_cash_forecast_versions__version_id__patch · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

business_id string required
version_id string required

Request body

name string
description string

Responses

200 Successful Response

id string required
business_id string required
name string required
description string
created_by_user_id string
snapshot_as_of string · date-time required
created_at string · date-time required
updated_at string · date-time required
config CashForecastVersionConfig CashForecastVersionConfig
4 fields
budget_id string
excluded_budget_ledger_ids array · string
weeks integer
one_time_items_snapshot array · CashForecastOneTimeItemBase CashForecastOneTimeItemBase

Snapshot of the one-time items as they existed when the version was saved. Replays against live data don't re-load from the live cash_forecast_one_time_items table.

snapshot_output object

Full CashForecast JSON captured at save time. Provides a stable historical view that doesn't shift as live data changes.

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object