> ## Documentation Index
> Fetch the complete documentation index at: https://docs.glot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.



## OpenAPI

````yaml https://api.staging.glot.com/openapi.json delete /v1/rooms/{room_id}
openapi: 3.1.0
info:
  title: glot-api
  version: 0.1.0
servers: []
security: []
tags:
  - name: rooms
    description: Create translation rooms and let participants join them.
  - name: usage
    description: Minutes and charges over time, for reporting and charts.
  - name: billing
    description: Buy prepaid credit and review the balance behind it.
  - name: api-keys
    description: Create and revoke keys used to authenticate requests.
  - name: supported-languages
    description: Languages available for translation.
  - name: users
    description: The authenticated user's own profile.
paths:
  /v1/rooms/{room_id}:
    delete:
      tags:
        - rooms
      summary: Close a room
      description: >-
        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.
      operationId: close_room_v1_rooms__room_id__delete
      parameters:
        - name: room_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Room Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````