Kick a user from the chat
Learn how to use iFlyChat API to kick a user from the chat
Kick user from chat
POST
https://api.iflychat.com/api/1.1/user/:id/kick
You can use iFlyChat API to kick a particular user from the chat
Path Parameters
Name
Type
Description
id
string
The id of the user to be kicked from the chat
Request Body
Name
Type
Description
api_key
string
The private API key of your website
{
"success": true
}
Curl Command
This the sample curl command required to make HTTP request:
curl -H "Content-Type: application/json" -X POST https://api.iflychat.com/api/1.1/user/5/kick -d "{\"api_key\":\"Wr4vpoJ_ET3lpBdX9E9TutUic4Dgb-gc7RGzuZvKqZgW5\"}"
Last updated
Was this helpful?