Skip to main content
DELETE
Handler for DELETE /livekit/participant endpoint
Removes a participant from a LiveKit room, forcibly disconnecting them. Access is authorized via metadata.auth_id check.

Authorization

Room names are used exactly as provided. No prefixing or modification is applied.

Request

Requires room_name and participant_identity in the request body.

Error responses

This endpoint does not revoke the participant’s token. To prevent rejoining, use short-lived tokens and avoid issuing new tokens to removed participants.

Authorizations

Authorization
string
header
required

Authentication token for protected endpoints. Can be provided as Authorization: Bearer <token> or ?api_key=<token>. Required when AUTH_REQUIRED is enabled.

Body

application/json

Request body for removing a participant from a LiveKit room

Example

participant_identity
string
required

The identity of the participant to remove

Example:

"user-alice-456"

room_name
string
required

The LiveKit room name where the participant is connected

Example:

"conversation-room-123"

Response

Participant removed successfully

Response for a successful participant removal

Example

participant_identity
string
required

The identity of the removed participant

Example:

"user-alice-456"

room_name
string
required

The room name

Example:

"conversation-room-123"

status
string
required

Status of the removal operation

Example:

"removed"