JBoss.orgCommunity Documentation

POST activity/activityId/comment/destroy/commentId.format

Description: Deletes an existing comment by its Id using the POST method. The deleted activity information will be returned in the JSON format. It is recommended to use the POST method, except the case that clients cannot make request via this method.

URL:

http://{domain_name}/{rest_context_name}/private/api/social/v1-alpha3/{portalContainerName}/activity/{activityId}/comment/destroy/{commentId}.{format}

Parameters:

Request:

 POST: http://cloud-workspaces.com/rest/private/api/social/v1-alpha3/portal/activity/1a2b3c4d5e/comment/destroy/123456.json

Response:

 {
   "id": "123456"
   "identityId": "12345abcde",
   "text": "My comment here!!!",
   "postedTime": 123456789,
   "createdAt": "Fri Jun 17 06:42:26 +0000 2011"
 }