Set Room E2E Key
Sets the end-to-end encryption key ID for a room
URL | Requires Auth | HTTP Method |
---|---|---|
|
|
Body Parameters
Argument | Example | Required | Description |
---|---|---|---|
|
| Required | The Room Id |
|
| Required | The key you wish to set. |
Example Call
Example Response
Success
Error
Any of the following errors can occur on the endpoint.
Authorization: Requires an authentication token for the request to be made.
No Room Id: Occurs when no
rid
is given.Invalid Room: Occurs when the given
rid
is invalid.Key already Exists: Happens when the Room in request already has an E2E key set.
Last updated