Delete a chat room

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

Delete a chat room

POST https://api.iflychat.com/api/1.1/room/:id/delete

Use our API to delete one of your global or private chat rooms

Path Parameters

NameTypeDescription

id

string

The id of the room to be deleted

Request Body

NameTypeDescription

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/room/4/delete -d "{\"api_key\":\"Wr4vpoJ_ET3lpBdX9E9TutUic4Dgb-gc7RGzuZvKqZgW55\"}`

Last updated