***

title: clearDigitBindings
slug: /reference/typescript/relay/call/clear-digit-bindings
description: Clear DTMF digit bindings on a call.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Clear all digit bindings, optionally filtered by realm.

## **Parameters**

<ParamField path="realm" type="string | undefined" toc={true}>
  If provided, only clear bindings in this realm. If omitted, all bindings
  are cleared.
</ParamField>

## **Returns**

`Promise<Record<string, unknown>>` -- Server response confirming the bindings were cleared.

## **Example**

```typescript {19}
import { RelayClient } from '@signalwire/sdk';

const client = new RelayClient({
  project: process.env.SIGNALWIRE_PROJECT_ID!,
  token: process.env.SIGNALWIRE_TOKEN!,
  contexts: ['default']
});

client.onCall(async (call) => {
  await call.answer();

  // Bind some digit shortcuts
  await call.bindDigit('*0', 'calling.transfer', {
    bindParams: { dest: 'operator' },
    realm: 'shortcuts',
  });

  // Later, remove all shortcut bindings
  const result = await call.clearDigitBindings('shortcuts');
  console.log(`Bindings cleared: ${JSON.stringify(result)}`);
});

await client.run();
```