Delete a chat room

Learn how to delete a chat room either global or private using iFlyChat API

post
Delete a chat room

https://api.iflychat.com/api/1.1/room/:id/delete
Use our API to delete one of your global or private chat rooms
Request
Response
Request
Path Parameters
id
required
string
The id of the room to be deleted
Body Parameters
api_key
required
string
The private API key of your website
Response
200: OK
The response would return success
{ 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/room/4/delete -d "{\"api_key\":\"Wr4vpoJ_ET3lpBdX9E9TutUic4Dgb-gc7RGzuZvKqZgW55\"}`