Room directory

Create a new mapping from room alias to room ID.

put/_matrix/client/v3/directory/room/{roomAlias}

Request

Path parameters

roomAliasstring mx-room-alias required

The room alias to set. Its format is defined in the appendices.

Request body

room_idstring mx-room-id required

The room ID to set.

Example request

{
  "room_id": "!abnjk1jdasj98:capuchins.com"
}

Response

The mapping was created.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.