DELETE Comments
Delete Comment (permanent)
URL Arguments comment conversation id : required The ID of the comment conversation, URL ENCODED.
URL Arguments
- comment_conversation_id : (required) The ID of the comment conversation, URL ENCODED.
- comment_comment_id : (required) The unique ID of the comment, URL ENCODED.
Request
Parameters
Values in the path and query string.
appid path string TalkLabs ID required
The TalkLabs application ID assigned to your account.
Example:your-app-id conversationid path string TalkLabs ID required
The TalkLabs assigned conversation ID.
Example:conversation-id commentid path string TalkLabs ID required
The TalkLabs assigned comment ID.
Example:comment-id Response
Status codes
Every JSON response uses the API result envelope.
200 OK ApiResult 400 Bad Request ApiResult 403 Forbidden ApiResult 404 Not Found ApiResult 500 Internal Server Error ApiResult Example response · 200
{
"message": "The specified comment was permanently deleted.",
"errors": {},
"data": {
"kind": "delete.comment",
"permanentdelete": true,
"comment": {
"kind": "comment.comment",
"id": "5edfe37586c2921148f128fc",
"appid": "5ededa7086c2920e6ccc06f8",
"conversationid": "demo-conversation-id",
"commenttype": "comment",
"added": "2020-06-09T19:31:01.5810693Z",
"modified": "2020-06-09T19:31:01.5810693Z",
"userid": "u-8842",
"user": {
"kind": "app.user",
"userid": "u-8842",
"handle": "dave_m",
"handlelowercase": "georgew",
"displayname": "Dave M.",
"pictureurl": "https://example.com/users/u-8842s/photos/original/a9/c7/a6/44-1-george-washington-18-1549729902.jpg",
"profileurl": "https://example.com/users/u-8842shington",
"banned": false
},
"body": "Hello, World! This is a comment with international characters and emojis. Intl: äöüÄÖÜß | Emojis: 😂🤣❤😍😒",
"originalbody": "",
"hashtags": [],
"customtype": "my-custom-type",
"customid": "",
"custompayload": "{ num : 0 }",
"customtags": [
"taga",
"tagb"
],
"customfield1": "/sample/userdefined1/emojis/😂🤣❤😍😒",
"customfield2": "/sample/userdefined2/intl/characters/äöüÄÖÜß",
"edited": false,
"censored": false,
"deleted": false,
"parentid": "",
"hierarchy": [],
"mentions": [],
"reactions": [],
"likecount": 0,
"replycount": 0,
"votecount": 0,
"votescore": 0,
"votes": [],
"moderation": "na",
"active": true,
"reports": []
}
}
}