Close a room
End a room immediately, disconnecting everyone in it.
The hang-up button. Every participant is disconnected, the translator with them, and the room stops accruing minutes — use this rather than waiting for people to leave on their own or for their join tokens to expire.
The room’s usage record is kept. It stays available on GET /v1/rooms/{room_id}
with its final status, minutes and charge; a room is a billing record and outlives the
call it measured. Those totals are settled a moment after this returns, once the
realtime provider confirms the room has ended, so a GET issued immediately may still
show the room as in progress — and the room’s name only becomes reusable at that
point, not the instant this returns.
Closing a room that has already ended does nothing and still returns 204, so a retry is safe. Returns 404 if the room does not belong to your organization.