astarte icon indicating copy to clipboard operation
astarte copied to clipboard

Allow disconnecting devices from API

Open bettio opened this issue 4 years ago • 1 comments

Allow devices disconnection from AppEngine API by PUTting false to connect device status property.

bettio avatar May 04 '20 13:05 bettio

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

zanettea avatar May 04 '20 14:05 zanettea