Community articleDeleting a stand-alone forum recommendation programmatically
Added by IBM contributorIBM on June 27, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars1 comment

No abstract provided.

To delete a recommendation of a post(topic or reply) in a forum, use the HTTP DELETE method.
Only the user who have already recommended the post can delete it's own recommendation.

 

 

Input
Method URI Description
DELETE /forums/atom/recommendation/entries Value of the href attribute of the <link> element with the rel="recommendations" attribute value in the forum topic feed or forum reply feed.
Name Type Optional Description
postUuid
string No The UUID of the recommended post.
Output
Code Description
204
Indicates that the recommendation was successfully deleted (and no content is returned).
401
Unauthorized.
404
Not Found.
Examples
POST /forums/atom/recommendation/entries?postUuid=84139b22-17f0-4290-939b-73370c6ef17c HTTP/1.1
	Host: www.dulcinea.com
	Content-Type: application/atom+xml
	Authorization: xxx
	Content-Length: nnn

Response returned by the server
HTTP/1.1 200 OK
Matthew Geiger commented on Apr 28, 2016

Re: Deleting a stand-alone forum recommendation programmatically

There is no entry containing... element with the rel="recommendations"