Skip to content

user.deleted

A user was deleted on the device, at its menu or by a command. zk-push 2.0, 2.4 and 3.4 send it for each user-deleted row of the device’s operation log (alongside that row’s device.log event), except a row from before the device first reached the gateway: the whole log a device uploads on first contact does not repeat old deletes.

Schema id: urn:houradvantage:events:3:user.deleted

Fields

FieldTypeRequiredDescription
user_idstringyesThe deleted user’s id on the device.
local_timestringWhen the user was deleted, device wall-clock time as the device wrote it (zk-push: “YYYY-MM-DD HH:MM:SS”). Absent when the device did not say.
vendorobjectWhat the device said in its own terms, under one key naming the vendor or package (“zk”, “brightlink”). Not part of this contract: see the package’s documentation.

Example

{
"user_id": "1001",
"local_time": "2026-01-15 08:00:00"
}

JSON Schema

user.deleted.json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:houradvantage:events:3:user.deleted",
"title": "user.deleted: data",
"description": "A user was deleted on the device, at its menu or by a command. zk-push 2.0, 2.4 and 3.4 send it for each user-deleted row of the device's operation log (alongside that row's device.log event), except a row from before the device first reached the gateway: the whole log a device uploads on first contact does not repeat old deletes.",
"type": "object",
"properties": {
"user_id": {
"type": "string",
"description": "The deleted user's id on the device."
},
"local_time": {
"type": "string",
"description": "When the user was deleted, device wall-clock time as the device wrote it (zk-push: \"YYYY-MM-DD HH:MM:SS\"). Absent when the device did not say."
},
"vendor": {
"description": "What the device said in its own terms, under one key naming the vendor or package (\"zk\", \"brightlink\"). Not part of this contract: see the package's documentation.",
"type": "object",
"minProperties": 1,
"maxProperties": 1,
"additionalProperties": {
"type": "object"
}
}
},
"required": [
"user_id"
],
"examples": [
{
"user_id": "1001",
"local_time": "2026-01-15 08:00:00"
}
]
}