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.
Last modified 1yr ago