Documentation

/content/{id}/changeowner [POST]

ThoughtFarmer REST API Method: /content/{id}/changeowner

Changes the owner of a content page.

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

Response Formats:
JSON, XML

HTTP Method(s):
POST

Requires Authentication:
true, user making call must pass a valid token parameter and must be able to edit the content to change ownership on

Parameters:

Parameter Type Description
id int Required. The content id of the page to change ownership of
userId int Required. The user id of the person to change ownership to
token string Required. A valid token authentication parameter

Response Status Codes:
200 - Success
400 - User is inactive or deleted
401 - Token parameter is invalid
403 - Insufficient permissions to change owner
404 - Page or user not found

Example request
POST http://yourserver.com/api/content/{id}/changeowner
  Content-Type: application/json
{
    "userId": 9465
}
200 OK