---
title: "Kick participants from a room session."
method: POST
path: "/room_sessions/{room_session_id}/actions/kick"
tags: ["Room Sessions"]
---

# Kick participants from a room session.

`POST /room_sessions/{room_session_id}/actions/kick`

Removes the selected participants from the specified room session. Apply the action to a list of participant IDs or to `all`, with optional participant IDs excluded from the action.

## Path parameters

- `room_session_id` string, uuid, required

## Request body

- ActionsParticipantsRequest
  - `exclude` string[] — List of participant id to exclude from the action.
  - `participants` union — Either a list of participant id to perform the action on, or the keyword "all" to perform the action on all participant.
    - 'all'
    - string[]

## Response `200`

Success Action Response

- object
  - `data` object
    - `result` string

## Other responses

- `4XX` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/ec31f78cf002/schema)
