---
title: "Unban a room"
method: GET
path: "/mod/unban/{room_id}"
tags: ["moderation"]
---

# Unban a room

`GET /mod/unban/{room_id}`

## Request

- The document declares no server URL.
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/etkecc/apis/matrix-rooms-search-api/docs/mod/unban/:room_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Lifts a room ban. Same shape as ban: a state-changing GET, and a "bot" User-Agent gets a 403 even authenticated. Real behavior, owned.

## Path parameters

- `room_id` string, required

## Response `200`

Confirmation message

- object

## Other responses

- `403`: User-Agent contains 'bot'

## Changes

- **2026-07-08** `ae3c2fd65492`: 1 info
  - endpoint added
- **2024-08-20** `4009b08a3a5a`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/etkecc/apis/matrix-rooms-search-api/changes/mod/unban/:room_id/get.md)

---

[API](https://skmtc.dev/etkecc/apis/matrix-rooms-search-api.md) - [All operations](https://skmtc.dev/etkecc/apis/matrix-rooms-search-api/llms.txt) - [OpenAPI document](https://skmtc.dev/etkecc/apis/matrix-rooms-search-api/revisions/fafe2e40cd8c?raw)
