unbindLockToFit(lock: BoundFitLockItem & object)

Requires:
@ray-js/lock-sdk≥1.2.0

Description

Unbind the lock from the current accessory

Parameters

ParameterTypeRequiredDescription
YesLock to unbind

Return Value

Type: Promise<unknown>
Final unbinding result from the cloud

Examples

import { unbindLockToFit } from '@ray-js/lock-sdk';
const result = unbindLockToFit({
  devId: '1234567890',
  fittingId: '1234567890',
  bindingId: '1234567890',
});
console.log(result);