Edit a chat room
Learn how to update global or private chat room using iFlyChat REST API
You can use iFlyChat API to programmatically edit any room.
Edit a chat room
POST
https://api.iflychat.com/api/1.1/room/:id/edit
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The id of the chat room to be updated |
Request Body
Name | Type | Description |
---|---|---|
api_key | string | The private API key of your website |
room_name | string | The name of the chat room to be updated |
room_role | string | The room role identifier. This determines the access to the chat room based upon user role. Use 0 if not sure. |
room_private | string | 1 if the room is going to be private |
room_moderate | string | 1 if the chat messages have to be approved before being published in the chat room |
Curl Command
Here is the sample curl command required to make HTTP request:
Last updated