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

# deleteSessionMetadata

> Delete all metadata for a session.

Delete all metadata for a session.

## **Parameters**

**`sessionId`** `string` — required

The session identifier.

---

## **Returns**

`boolean` -- `true` if the session existed and was deleted.

## **Example**

```typescript {5}
import { SessionManager } from '@signalwire/sdk';

const sm = new SessionManager();
sm.setSessionMetadata('session-1', { caller: 'John' });
const deleted = sm.deleteSessionMetadata('session-1');
console.log(deleted); // true
```