API Method: profiles destroy

DELETE /:user_id/profiles/:folder_id

Deletes the specified profiles folder. Returns a representation of the deleted profiles folder with a 200 OK HTTP status code.

URL:

http://subsift.ilrt.bris.ac.uk/user_id/profiles/folder_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/profiles/pc.xml

Response (about return values):

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<result>
  <folder>
    <id>pc</id>
    <document_id>pc</document_id>
    <created>1266793611</created>
    <description>KDD09 Programme Committee</description>
    <ignore_case>1</ignore_case>
    <limit>100000</limit>
    <mode>private</mode>
    <modified>1268566365</modified>
    <ngrams>1,2</ngrams>
    <remove_html>1</remove_html>
    <remove_stopwords>1</remove_stopwords>
    <stopwords>a,about,above,across, ... ,yourselves</stopwords>
    <threshold>0</threshold>
  </folder>
</result>