unbindUnlockMethod(id: number)

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

Description

Unbind the user's unlocking method

Parameters

ParameterTypeRequiredDescription
idnumberYesRecord ID

Return Value

Type: Promise<void>
None (resolve after successful unbinding)

Error Code

Error CodeError Message
1050The unlocking method is not associated and cannot be unbound

Examples

import { unbindUnlockMethod } from '@ray-js/lock-sdk';
await unbindUnlockMethod(123456);