API Method: documents folder destroy

DELETE /:user_id/documents/:folder_id/items/:item_id

Deletes the specified document item. Returns a representation of the deleted document item with a 200 OK HTTP status code. To delete multiple document items at once, see document items destroy (all).

URL:

http://subsift.ilrt.bris.ac.uk/user_id/documents/folder_id/items/item_id.format

Formats (about return formats):

csv, json, rdf, terms, xml, yaml

HTTP Methods (about HTTP methods):

DELETE

Clients that can not issue DELETE requests can use POST with the added parameter _method=DELETE

Requires Authentication (about authentication):

true

Parameters:

Usage Examples:

cURL (about cURL):

curl -X DELETE -H "Token:mytoken" http://subsift.ilrt.bris.ac.uk/kdd09/documents/pc/items/Peter%20Flach.xml

Response (about return values):

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<result>
  <item>
    <name>Peter Flach</name>
    <created>1266788131</created>
    <description>Some research interests of Peter Flach</description>
    <id>Peter_Flach</id>
    <modified>1266788131</modified>
    <source>text</source>
  </item>
</result>