deleteComment
- Home
- Commenting
- UgcDiscussion
- deleteComment
deleteComment
Deletes a comment from a discussion.
Parameters
Name | Description |
nodeID required | Node of content we are working with. |
commentID required | ID of comment (post) to work with. |
userID required | User we are working with. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcDiscussion?action=deleteComment&nodeID=188234&userID=229928503&commentID=157882246&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "service":"ugcDiscussion", "action":"deleteComment", "code":1, "message":"Comment successfully deleted.", "item":true } |
Service Information
Service | ugcDiscussion |
Method | deleteComment |
Type | REST |
Response Types | JSON, XML |