astarte
astarte copied to clipboard
Allow disconnecting devices from API
Allow devices disconnection from AppEngine API by PUTting false to connect device status property.
If this API is going to be used with credentials_inhibited devices in order to ban a device as soon as certificate expires, it would be useful to have the possibility to schedule the disconnection right after certificate expires. So, from a user point of view, in order to ban a device the steps will be:
- set credentials_inhibited = true
- set disconnection = scheduled