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

# removeMember

> removeMember method for the RoomSession class.

### removeMember

* **removeMember**(`params`): `Promise<void>`

Removes a specific participant from the room.

#### Parameters

Object containing the parameters of the method.

Id of the member to remove.

#### Returns

`Promise<void>`

#### Permissions

* `room.member.remove`: to remove a remote member.

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

```javascript
const id = "de550c0c-3fac-4efd-b06f-b5b8614b8966"; // you can get this from getMembers()
await roomSession.removeMember({ memberId: id });
```