From Yombo
< docs‎ | hooks
Jump to: navigation, search
Hook name _device_before_delete_
Status Active
Hook source type Library
Stop on exception No
Commonly used No
Implemented by devices


Called before a device about to be delete from both the Yombo API and the system.


Used to notify modules that a device is about to be deleted through the Yombo API as well as the local system. Any modules with pointers or data for this device should be removed.


  • id - The device ID about to be deleted.
  • device - The device object about to be removed.


Not expecting any data returned.

This page was last edited on 9 December 2017.