Skip to content
This repository was archived by the owner on Sep 8, 2024. It is now read-only.

Latest commit

 

History

History
60 lines (45 loc) · 811 Bytes

File metadata and controls

60 lines (45 loc) · 811 Bytes

rooms/update Endpoint

The rooms/update endpoint enables you to partially change the metadata of your room.

Endpoint

rooms/update

Method

POST

Parameters

name: Name of your room

description: Description of your room

welcome: Welcome message of your room

{
    "name": "xxx",
    "description": "xxx",
    "welcome": "xxx",
}

Possible error messages

Insufficient permissions

{
    "data": [
        "You are not authorized to access this resource."
    ],
    "status": "notAuthorized",
}

name, description or welcome is missing

{
    "data": [
        "xxxxxxxx is required"
    ],
    "status": "requestError",
}

Data returned

{
    'data': [],
    'meta': {},
    'status': 'ok',
    'time': 'xx.xxxxxxxxxxx'
}