Automatically detach devices

By default, the devices are automatically detached if they are not used for 604800 seconds. That is seven days. You can change this behavior in the dashboard settings.

Sabil will run a cron job automatically detaching any devices that have not been re-attached in the past seven days (or however long you specify).

Some notes:

  1. The minimum automatic detach timeout is 60 seconds. This is subject to changing in the future.
  2. Unless your use case needs near-real-time attaching and detaching, you should rely on this to avoid having to run schedulers on your server.
  3. If you need more immediate detachment, you can use the client SDK's detach method.

Detach settings