iFlyChat
Home
GitHub
Dashboard
Search…
iFlyChat
Documentation
Installation
WordPress
Embed Chatroom in WordPress Post
Disable Popup Chat
Hide Popup Chat from a Page
Embed Inbox View
View Chat Logs
Guest User Access
Show/Hide Popup Chat On Specific Pages
WordPress Filters and Hooks
API Reference
Create a new chat room
Retrieve list of all chat rooms
Edit a chat room
Retrieve list of all online users
Kick a user from the chat
Retrieve list of all users online in a chat room
Delete a chat room
Retrieve Thread History
JavaScript SDK
Quickstart
Custom Label In Chat Window
User Chat Button Widget
Reference
Help
General
Embedded Chatroom
Feature Description
Chat Moderation
Powered By
GitBook
Kick a user from the chat
Learn how to use iFlyChat API to kick a user from the chat
post
https://api.iflychat.com
/api/1.1/user/:id/kick
Kick user from chat
Curl Command
This the sample curl command required to make HTTP request:
1
curl
-H
"Content-Type: application/json"
-X POST https://api.iflychat.com/api/1.1/user/5/kick -d
"{
\"
api_key
\"
:
\"
Wr4vpoJ_ET3lpBdX9E9TutUic4Dgb-gc7RGzuZvKqZgW5
\"
}"
Copied!
The kicked user won't be able to access chat for next 15 minutes. After that he/she may again join the chat.
API Reference - Previous
Retrieve list of all online users
Next - API Reference
Retrieve list of all users online in a chat room
Last modified
2yr ago
Copy link
Contents
post
Kick user from chat
Curl Command