---
title: "rooms/:name/eject"
method: POST
path: "/rooms/{room_name}/eject"
tags: ["rooms"]
---

# rooms/:name/eject

`POST /rooms/{room_name}/eject`

Ejects participants from a room

## Path parameters

- `room_name` string, required

## Request body

- object
  - `ids` string[] — List of participant ids (max 100) to eject from the existing meeting session.
  - `user_ids` string[] — List of user_ids (max 100) to eject from the existing meeting session.
  - `ban` boolean — If true, participants are prevented from (re)joining with the given user_ids.

## Response `200`

200

- object
  - `ejectedIds` string[]

## Other responses

- `400` — 400

---

[API](https://skmtc.net/daily/apis/daily-api.md) · [All operations](https://skmtc.net/daily/apis/daily-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/daily/daily-api/versions/225ed4870ea1/schema)
