Edit an action

Only the fields sent change. dueQuarter null clears the due quarter; leaving it out keeps it. A changed reductionPct is re-estimated on the stored base snapshot; a typed estimate is edited with estimateKgCo2e. The catalogue entry, base, scope and site are fixed once added (add a new action instead). 404 ACTION_NOT_FOUND; 400 VALIDATION_ERROR. Requires org.edit_dashboard.

patch/net-zero/actions/{id}

Path parameters

idstring uuid required

Request body

descriptionstring
dueQuarterinteger nullable

null clears the due quarter; leaving it out keeps it.

estimateKgCo2enumber double

Only for a typed estimate.

ownerstring

An empty string clears it.

progressNotestring

An empty string clears it.

rationalestring
reductionPctnumber double
status'planned' | 'in_progress' | 'done' | 'dropped'
titlestring

Response

The edited action

Changes

Changed in 1 of the 8 revisions of this API.1