API Method: DELETE user
Deletes the user identified by its integer id. Must be in the room.
URL:
https://jaconda.im/api/rooms/#{room_id}/users/#{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/1/users/5134.xml
Response:
XML example:
<?xml version="1.0" encoding="UTF-8"?>
<user>
<created-at type="datetime">2010-02-23T06:54:54Z</created-at>
<id type="integer">5134</id>
<is-paused type="boolean">false</is-paused>
<jid>client@gmail.com</jid>
<name>Boss</name>
<paused-till type="datetime" nil="true"></paused-till>
<room-id type="integer">1</room-id>
<status nil="true"></status>
<updated-at type="datetime">2010-02-23T06:54:54Z</updated-at>
</user>