Skip to main content

 Web service API

How to use PageSeeder's Web service API

comment

/members/{member}/comments/{commentid} [DELETE]

com.pageseeder.comment.DeleteComment

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

CodeCause / Description
0x1311The object specified is not a comment
0x1317The comment was not found
Created on , last edited on