Skip to main content

DeviceProvisioningRecipeDeleted

Emitted when a provisioning recipe is deleted.

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.ProvisioningRecipeDeleted" (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 deleted provisioning recipe.
organizationUidstring✅Organization that owned the provisioning recipe.
status"Pending" | "Applied" | "Failed" | "Invalid" (literal)✅Status of the recipe at the time it was deleted.
serialNumberstring—Serial number of the device the recipe provisioned.
macAddressstring—MAC address of the device the recipe provisioned.
modelstring—Model of the device the recipe provisioned.
brandstring✅Brand (manufacturer) of the device the recipe provisioned.

Example​

{
"id": "string",
"kind": "domain",
"type": "Device.ProvisioningRecipeDeleted",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "bcf27b3cxxxxxxxxxxxxxxxxd74bee80",
"parentCompanyUid": "9c208dd7xxxxxxxxxxxxxxxxe187b834"
},
"type": "Device.ProvisioningRecipeDeleted",
"originator": {
"accountId": 5991,
"organizationUid": "078be24exxxxxxxxxxxxxxxxa8911f88",
"policyUid": "ffb539dexxxxxxxxxxxxxxxx8446bd5b"
},
"uid": "b5d4a376xxxxxxxxxxxxxxxx24167209",
"organizationUid": "fe322f3exxxxxxxxxxxxxxxx43761a03",
"status": "Pending",
"serialNumber": "SN-184465",
"macAddress": "B4:26:9D:F3:XX:XX",
"model": "example-model",
"brand": "example-model"
}
}

Shape​

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