Documentation

/content/{id} [DELETE]

ThoughtFarmer REST API Method: /content/{id} [DELETE]

Deletes a page within ThoughtFarmer. Will also delete all child pages and attachments of the page requested for deletion.

URL:
http://yourserver.com/api/content/{id}

Response Formats:
JSON, XML

HTTP Method(s):
DELETE

Requires Authentication:
true, user making call must pass a valid token parameter and must have edit permissions

Parameters:

Parameter Type Description
id int Required. The id of the content to delete
token string Required. A valid token authentication parameter

Response Status Codes:
200 - Update successful
401 - Token parameter is invalid
403 - No permissions to make update
404 - Content not found

Example request
DELETE http://yourserver.com/api/content/{id}
200 OK