Skip to main content

DeviceProvisioningRecipeStatusUpdated

Emitted when the status of a provisioning recipe changes (e.g. Pending, Applied, Failed).

Payload​

FieldTypeRequiredDescription
ownerobject✅Ownership envelope identifying the company or organization that owns this event.
owner.ownershipType"organization" (literal)✅Discriminator for the ownership envelope; always organization for these events.
owner.organizationUidstring✅UID of the organization that owns the event.
owner.parentCompanyUidstring✅UID of the owning organization's parent company.
type"Device.ProvisioningRecipeStatusUpdated" (literal)✅Fully-qualified event type discriminator (e.g. Device.DeviceConnectionAdded).
originatorobject—Actor that initiated the action behind this event. Omitted for system-triggered events.
originator.accountIdnumber—Numeric identifier of the account that initiated the action.
originator.organizationUidstring—Organization on whose behalf the action was initiated.
originator.policyUidstring—Policy under which the action was initiated, if applicable.
uidstring✅Unique identifier of the provisioning recipe.
deviceIdentityHashstring✅Server-generated unique identifier of the device, used as the public-facing identifier in the REST API.
status"Pending" | "Applied" | "Failed" | "Invalid" (literal)✅New provisioning status of the recipe.

Example​

{
"id": "string",
"kind": "domain",
"type": "Device.ProvisioningRecipeStatusUpdated",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "59274011xxxxxxxxxxxxxxxx3eabe3ab",
"parentCompanyUid": "83392ff3xxxxxxxxxxxxxxxxb40891bd"
},
"type": "Device.ProvisioningRecipeStatusUpdated",
"originator": {
"accountId": 5783,
"organizationUid": "5cee5c1dxxxxxxxxxxxxxxxx43dfb210",
"policyUid": "4d6c15f6xxxxxxxxxxxxxxxx09c94a15"
},
"uid": "48a3aa3dxxxxxxxxxxxxxxxxdf1199cd",
"deviceIdentityHash": "b4e9f99bxxxxxxxxxxxxxxxx3e240d37",
"status": "Pending"
}
}

Shape​

{
"id": "string",
"kind": "domain",
"type": "Device.ProvisioningRecipeStatusUpdated",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "string",
"parentCompanyUid": "string"
},
"type": "Device.ProvisioningRecipeStatusUpdated",
"originator?": {
"accountId?": "number",
"organizationUid?": "string",
"policyUid?": "string"
},
"uid": "string",
"deviceIdentityHash": "string",
"status": "Pending | Applied | Failed | Invalid"
}
}