---
name: "SmartTapToRunAbility.unbind"
mode: "api"
versionRequirements:
  - { name: "@ray-js/panel-sdk", version: "1.11.0" }
title: "unbind"
---

## SmartTapToRunAbility.unbind

> [VERSION] @ray-js/panel-sdk >= 1.11.0

> 💡 Supports single devices only; groups are not supported. Note: The sample response is for reference only and contains fields beyond the defined response parameters. Do not use any data other than what is defined in this document, otherwise it may cause application errors.

### Description

Unbind a Tap-to-Run rule

### Parameters

`Params`

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `params` | `UnbindTapToRunParams` | Yes | Unbinding parameters |

### Return Value

Type: `Promise<UnbindTapToRunResult>`

List of remaining scenes after unbinding

### Referenced Types

##### `type` UnbindTapToRunParams

Tap-to-Run unbinding parameters

| Property | Type | Description |
| --- | --- | --- |
| `bindId` | `string` | Can be obtained from bindId in the bound Tap-to-Run list |
| `gid` | `string` | Home ID; if not provided, use the current app home |

##### `type` UnbindTapToRunResult

Tap-to-Run unbinding result

```typescript
export type UnbindTapToRunResult = boolean;
```


### Examples

#### Example

```typescript
const remaining = await sdm.tapToRun.unbind({ bindId: 'bind_001' });
console.log('Unbound successfully, remaining scenes:', remaining);
```
