Skip to main content

DeviceProvisioningRecipeDeleted

Emitted when a provisioning recipe is deleted.

Payload

FieldTypeRequiredDescription
ownerobjectOwnership 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.organizationUidstringUID of the organization that owns the event.
owner.parentCompanyUidstringUID of the owning organization's parent company.
type"Device.ProvisioningRecipeDeleted" (literal)Fully-qualified event type discriminator (e.g. Device.DeviceConnectionAdded).
originatorobjectActor that initiated the action behind this event. Omitted for system-triggered events.
originator.accountIdnumberNumeric identifier of the account that initiated the action.
originator.organizationUidstringOrganization on whose behalf the action was initiated.
originator.policyUidstringPolicy under which the action was initiated, if applicable.
uidstringUnique identifier of the deleted provisioning recipe.
organizationUidstringOrganization that owned the provisioning recipe.
status"Pending" | "Applied" | "Failed" | "Invalid" (literal)Status of the recipe at the time it was deleted.
serialNumberstringSerial number of the device the recipe provisioned.
macAddressstringMAC address of the device the recipe provisioned.
modelstringModel of the device the recipe provisioned.
brandstringBrand (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"
}
}