Removing a File Recommendation
Added by IBM contributorPaul Bastide | Edited by Claudia R Elbourn on July 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

You can use the Files API with the POST method to indicate you are no longer recommending a file within the social framework.

 

Input
Method URI Description
POST /files/{auth}/api/{library}/{library-id}/document/{document-id}/recommendation/{person-id}/entry Remove a recommendation from a file.
Name Type Optional Description
Content-Type
enumerated No Atom
Authorized values:
  • application/atom+xml
X-METHOD-OVERRIDE
enumerated No DELETE
Authorized values:
  • DELETE
X-UPDATE-NONCE
string No Nonce
Output
Code Description
204
The recommendation is deleted.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.
403
Forbidden. The server refuses to fulfill a request, typically because the request was for an object that you don't have permission to access.
Examples
shows how to remove a recommendation No Content Sent Back
<entry xmlns="http://www.w3.org/2005/Atom">
  <category label="recommendation" scheme="tag:ibm.com,2006:td/type" term="recommendation"/>
</entry>