API Method: DELETE room
Deletes the room.
This will not only delete the room, but all files and
messages in it.
Path:
/api/v2/rooms/#{room_id}.#{format}
Formats:
xml, json
HTTP Method(s):
DELETE, POST (with the added parameter _method=DELETE)
Usage examples:
$ curl -u api_token:x -X DELETE https://bigbang.jaconda.im/api/v2/rooms/developers.xml
Response:
XML example:
<?xml version="1.0" encoding="UTF-8"?>
<room>
<created-at type="datetime">2011-02-25T14:38:59+05:00</created-at>
<greeting-text>Welcome to Developers chat. Type !help to see available commands.</greeting-text>
<is-public type="boolean">false</is-public>
<jid>developers</jid>
<title>Designers</title>
<topic nil="true"></topic>
<updated-at type="datetime">2011-02-25T14:46:13+05:00</updated-at>
<icon-url>https://jaconda.im/images/defaultJacondaIcon.png</icon-url>
</room>