Oh, sorry about that.
Let me make some tests and I’ll get back to you.
Update:
@exosite, the team confirmed you can use that error to delete the device from a stateCallback
, just remember that, if you send the device again in a discoveryResponse
, it will be created:
"deviceState": [
{
"externalDeviceId": "pdevice-1",
"deviceError": [
{
"errorEnum": "DEVICE-DELETED",
"detail": "messageDetail"
}
]
}
]
Yes, that can be done through the API but only by the owner, external PATs like yours cannot interact with the Connector’s users’ devices.