Revert a data point correction
Restores a data point’s original value, the one ingestion delivered, however many corrections stand on it. One revert entry is appended to the history, recording the move from the value in force back to the original; nothing is deleted. Reverting an imputed value empties the data point again. Requires the write:event token scope.
Once a data point’s latest entry is a revert, its value is already the original and a second call returns 422. A correction applied after a revert can be reverted in turn. A standing correction whose value happens to equal the original is still revertible.
Reverting doesn’t recalculate anything downstream: a batch that was already generated keeps the value it was generated with. Data rules re-evaluate against the restored value.
Authorizations
Path Parameters
The project's friendly ID (e.g. prj_aBcD1234eFgH5678).
The event's friendly ID (e.g. evt_aBcD1234eFgH5678).
Data point type slug on the event's event type (e.g. ambient-temperature-c). A slug the event type doesn't define returns 422.
Response
Correction reverted.