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 of a 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 will replace it as the first comment.

Parameters

No parameters required.

Permission

Undocumented permissions requirements.

Response

<comment-delete /> 

Error handling

CodeCause / Description
0x1311 The object specified is not a comment
0x1317 The comment was not found

Created on , last edited on