Skip to main content

DeviceProvisioningRecipeUpdated

Emitted when an existing provisioning recipe is updated.

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.
organizationUidstringOrganization that owns this provisioning recipe.
status"Pending" | "Applied" | "Failed" | "Invalid" (literal)Current provisioning status of the recipe.
confirmedOwnershipbooleanWhether device ownership has been confirmed for this recipe.
serialNumberstringSerial number of the device this recipe provisions.
macAddressstringMAC address of the device this recipe provisions.
modelstringModel of the device this recipe provisions.
brandstringBrand (manufacturer) of the device this recipe provisions.
tagUidsstring[]Tags to assign to the device once provisioned.
deviceNamestringHuman-readable name to set on the device once provisioned.
policyUidstringPolicy to apply to the device once provisioned.
locationUidstringLocation to assign the device to once provisioned.
unsuccessfulRegisterAttemptStatusobjectDetails of the most recent unsuccessful registration attempt, if any.
unsuccessfulRegisterAttemptStatus.warningMessagestringHuman-readable reason the registration attempt did not succeed.
errorMessagestringError message describing why provisioning failed, if applicable.
type"Device.ProvisioningRecipeUpdated" (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 entity.

Example

{
"id": "string",
"kind": "domain",
"type": "Device.ProvisioningRecipeUpdated",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "8429f601xxxxxxxxxxxxxxxxc54a5f56",
"parentCompanyUid": "e990a597xxxxxxxxxxxxxxxxc6430ef4"
},
"organizationUid": "45051de2xxxxxxxxxxxxxxxx97ce5088",
"status": "Pending",
"confirmedOwnership": true,
"serialNumber": "SN-306311",
"macAddress": "81:FB:8D:9D:XX:XX",
"model": "example-model",
"brand": "example-model",
"tagUids": [
"85949411xxxxxxxxxxxxxxxx631f7794"
],
"deviceName": "Example Name",
"policyUid": "56c600e3xxxxxxxxxxxxxxxx8f802ee2",
"locationUid": "ca73cb98xxxxxxxxxxxxxxxxde025557",
"unsuccessfulRegisterAttemptStatus": {
"warningMessage": "Something went wrong"
},
"errorMessage": "Something went wrong",
"type": "Device.ProvisioningRecipeUpdated",
"originator": {
"accountId": 8538,
"organizationUid": "4c824378xxxxxxxxxxxxxxxxd542c5b7",
"policyUid": "3a9d047cxxxxxxxxxxxxxxxx91e30382"
},
"uid": "2dfae202xxxxxxxxxxxxxxxxcd8150f7"
}
}

Shape

{
"id": "string",
"kind": "domain",
"type": "Device.ProvisioningRecipeUpdated",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "string",
"parentCompanyUid": "string"
},
"organizationUid?": "string",
"status?": "Pending | Applied | Failed | Invalid",
"confirmedOwnership?": "boolean",
"serialNumber?": "string",
"macAddress?": "string",
"model?": "string",
"brand?": "string",
"tagUids?": [
"string"
],
"deviceName?": "string",
"policyUid?": "string",
"locationUid?": "string",
"unsuccessfulRegisterAttemptStatus?": {
"warningMessage": "string"
},
"errorMessage?": "string",
"type": "Device.ProvisioningRecipeUpdated",
"originator?": {
"accountId?": "number",
"organizationUid?": "string",
"policyUid?": "string"
},
"uid": "string"
}
}