*** id: 34fe758d-f90f-4a0a-bcdf-68e402c013c4 title: deleteMeta slug: /node/reference/video/room-session/delete-meta description: deleteMeta method for the RoomSession class. max-toc-depth: 3 ---------------- ### deleteMeta * **deleteMeta**(`keys`): `Promise` Deletes the specified keys from the metadata for this RoomSession. #### Parameters | Name | Type | Description | | :----- | :--------- | :------------------ | | `keys` | `string[]` | The keys to remove. | #### Returns `Promise` #### Example ```js roomSession.on("room.updated", (e) => { // We can set an event listener to log changes to the metadata. console.log(e.room.meta); }); await roomSession.setMeta({ foo: "bar", baz: true }); // The logger will now print `{ foo: "bar", baz: true }` await roomSession.deleteMeta(["foo"]); // The logger will now print `{ baz: true }` ```