Set some account_data for the user.
PUT {{baseUrl}}/user/:userId/rooms/:roomId/account_data/:type
Set some accountdata for the client on a given room. This config is only
visible to the user that set the accountdata. The config will be synced to
clients in the per-room account_data
.
Request Body
{"custom_account_data_key"=>"custom_account_data_value"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{}