API Method: DELETE room
Deletes the room identified by its integer id. Must be owned by
the authenticated account.
This will not only delete the room, but all the users and
messages in it.
URL:
https://jaconda.im/api/rooms/#{room_id}.#{format}
Formats:
xml, json
HTTP Method(s):
DELETE, POST (with the added parameter _method=DELETE)
Usage examples:
cURL:
$ curl -u api_token:x -X DELETE https://jaconda.im/api/rooms/3.xml
Response:
XML example:
<?xml version="1.0" encoding="UTF-8"?>
<room>
<account-id type="integer">1</account-id>
<created-at type="datetime">2010-03-24T10:56:20Z</created-at>
<greeting-text>Hi, welcome to Developers. Type !help for a list of commands.</greeting-text>
<id type="integer">3</id>
<is-public type="boolean">true</is-public>
<jid>developers</jid>
<status-message>Available</status-message>
<title>Designers</title>
<updated-at type="datetime">2010-03-24T11:07:30Z</updated-at>
</room>