comment
/members/{member}/comments/{commentid} [DELETE]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 5.8900 | 5.9500 | xml, json |
Description
Delete a single comment.
This service only deletes a single comment in a discussion such that the other comments are preserved:
- The replies to the deleted comment are always retained, regardless of its position in the discussion.
- If the deleted comment is the first comment in a discussion, the immediately following reply replace s it as the first comment.
Parameters
No parameters required.
Permission
The member on the request needs to be a manager or higher and managerEnable set to delete-comments in the global.properties or an administrator with adminEnable set to delete-comments in the global.properties.
Response
<comment-delete />
Error Handling
| Code | Cause / Description |
|---|---|
| 0x1311 | The object specified is not a comment |
| 0x1317 | The comment was not found |