> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # updateMemberMeta > updateMemberMeta method for the RoomSession class. ### updateMemberMeta * **updateMemberMeta**(`params`): `Promise` Updates a member's metadata in only the specified fields. This is different from [setMemberMeta](#setmembermeta), which replaces the whole metadata object. #### Parameters **`params`** `object` Object containing the parameters of the method. --- **`memberId`** `string` Id of the member to affect. If omitted, affects the current member. --- **`meta`** `Record` The update to the metadata. --- #### Returns `Promise` #### Permissions * `room.set_meta` You need to specify the permissions when [creating the Video Room Token](/docs/apis/rest/video/room-tokens/create-room-token) on the server side. #### Example ```js roomSession.on("member.updated", (e) => { // We can set an event listener to log changes to the metadata. console.log(e.member.meta); }); await roomSession.setMemberMeta({ memberId: "...", meta: { foo: "bar", baz: true }, }); // The logger will now print `{ foo: "bar", baz: true }` await roomSession.updateMemberMeta({ memberId: "...", meta: { baz: false, t: 10 }, }); // The logger will now print `{ foo: "bar", baz: false, t: 10 }` ``` > updateMemberMeta method for the RoomSession class.