Update events
- Last UpdatedAug 19, 2026
- 1 minute read
After an event has been created, you can update it to reflect changes that occur throughout its lifecycle. Event updates allow applications to maintain accurate event information, such as revised metadata, modified property values, or changes in status as conditions change.
Depending on the update scenario, you can replace the entire event representation or patch only the fields that have changed. Patch operations are particularly useful for long-running events because they allow incremental updates without resending the complete event payload.
For example, you can use a patch operation to add an end time and close an active event when the condition that triggered it has been resolved.
Delete an event
Use a delete operation to remove an existing event from the data model. Deleting an event permanently removes the event record and its associated metadata, making it unavailable for future queries or updates.
The following example deletes a specific event using its type and event identifiers.
omfversion: 2.0
messagetype: instance
action: delete
messageformat: json
{
"events": [
{
"id": "Alarm-Tank-101-20260717-001"
}
]
}