Documentation

/customportlets/{templateId}/upgrade [POST]

ThoughtFarmer REST API Method: /customportlets/{templateId}/upgrade [POST]

Upgrade a custom portlet to the latest version.
 
URL:
http://yourserver.com/api/customportlets/{templateId}/upgrade

Response Formats:
JSON, XML

HTTP Method(s):
PATCH
 
Requires Authentication:
true, user making call must pass a valid token parameter

Parameters:

Parameter Type Description 
token string Required. A valid token authentication parameter
templateId int Required. The portlet template id.

Response Status Codes:
200 - Success
401 - Token parameter is invalid
403 - Insufficient permissions to manage custom portlets

Example request
POST http://yourserver.com/api/customportlets/641/upgrade
200 OK