To bind a driver to a unit or unbind a driver from a unit, use the command resource/bind_unit_driver:
svc=resource/bind_unit_driver¶ms={"resourceId":<long>, "unitId":<long>, "driverId":<long>, "time":<uint>, "mode":<bool>}
| Name | Description | 
|---|---|
| resourceId | resource ID | 
| unitId | unit ID | 
| driverId | driver ID | 
| time | time (0 - current time) | 
| mode | mode: 1 - bind, 0 - unbind | 
{} /* empty object if execution successful, if not - error code */
  |