API Reference
Updates a ledger. Cannot update system ledgers.
cURL
curl --request PATCH \ --url https://app.gomangrove.com/api/v1/ledgers/{ledger_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "ledger": { "name": "Updated Ledger Name" } } '
{ "id": "lgr_abc123def456", "name": "Updated Ledger Name", "unit": "t", "system_ledger_type": null, "partition_type": "time", "cadence": "monthly", "latest_model": { "id": "mdl_abc123def456", "name": "Carbon Calculation Model" }, "asset_category": null, "created_at": "2025-01-15T10:00:00.000Z", "updated_at": "2025-01-15T12:00:00.000Z" }
Ledger friendly ID (e.g., lgr_abc123def456)
Show child attributes
200