Set Room Key ID

This method marks an existing room as encrypted.

Requirements

Logged InPermissionSetting

Yes

none

none

Payload

  1. String - the id of the room that is being updated.

  2. String - the keyID to add to the room.

Example Call

{
    "msg": "method",
    "method": "e2e.setRoomKeyID",
    "id": "8",
    "params": [
        "rid",
        "keyID"
    ]
}

Example Response

{
    "msg": "result",
    "id": "8",
    "result": 1
}

Change Log

VersionDescription

0.70.0

Added

Last updated

Rocket.Chat versions receive support for six months after release.