removeTempCustom(params: RemoveCustomProps)

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

Description

Delete a custom temporary password.

Parameters

ParameterTypeRequiredDescription
YesInput parameters

Return Value

Type: Promise<boolean>
None

Error Code

Error CodeError Message
1065Device-reported deletion failed (near-field channel)
1001Device offline (near-field channel)
1002Operation timed out (near-field channel)

Examples

import { removeTempCustom } from '@ray-js/lock-sdk';
await removeTempCustom({ id: 'pwd_001' });