Documentation

API /user/{userId}/photo/delete

ThoughtFarmer REST API Method: /user/{userId}/photo/delete

Deletes the user's photo.
 
URL:
http://yourserver.com/api/user/{userId}/photo/delete

http://yourserver.com/api/2.0/user/{userId}/photo/delete


Response Formats:
xml,json

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

Parameters:

 Parameter Type Description
 userId int Required. The user id of the user's photo to delete
 token string  Required. A valid token authentication parameter
Response Status Codes:
200 - Success
401 - Token parameter is invalid
403 - Not allowed to delete
404 - User not found

Example request
POST http://yourserver.com/api/user/{userId}/photo/delete
POST Data userId={userId}&token={token}

true