---
name: "removeTempCustom"
mode: "api"
versionRequirements:
  - { name: "@ray-js/lock-sdk", version: "1.0.0" }
title: "removeTempCustom - Delete custom password."
summary: "Delete custom password."
---

## removeTempCustom

> [VERSION] @ray-js/lock-sdk >= 1.0.0

### Description

Delete a custom temporary password.

### Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `unlockBindingId` | `string` | Yes | Password ID to delete |
| `sn` | `number` | Yes | Password SN |

### Return Value

Type: `Promise<boolean>`

None

### Error Codes

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

### Examples

#### Example

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