Comments‎ > ‎

bluemelon.comments.remove

removes the new comment from the item, user or blog post 

Authentication:

Yes (see here for details)

Arguments:

(required) int : commentid - the id of the comment to be deleted
(required) string : publickey - the public key of an application
(required) string : token - the access token

Request Example:

http://www.bluemelon.com/api/rest/{api_sing}/
?method=bluemelon.comments.remove&commentid=556&publickey={publickey}&token={token}

Response Example:

<rsp status="ok" onrequest="bluemelon.comments.remove"/>

Error Codes:

4 - "Missing parameter"
5 - "Invalid parameter"
10 - "Folder not found"
11 - "Item not found"
12 - "Application not found"
14 - "Invalid accessToken"
16 - "Access token timed out.You must relogin."
17 - "Invalid call signature size"
18 - "Invalid call signature"
20 - "Missing api_sign"
25 - "Comment not found"
602 - "No read permissions"
603 - "Account recently expired or deleted"

Comments