Delete result from comment
Deletes task result, created from a comment
Function DeleteResultFromComment(Val URL, Val CommentID, Val Token = "") Export
| Parameter | CLI option | Type | Required | Description | 
|---|---|---|---|---|
| URL | --url | String | ✔ | URL of webhook or a Bitrix24 domain, when token used | 
| CommentID | --comment | Number, String | ✔ | CommentID | 
| Token | --token | String | ✖ | Access token, when app auth method used | 
Returns: Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API
tip
Method at API documentation: tasks.task.result.deleteFromComment
1C:Enterprise/OneScript code example
    URL       = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
    CommentID = "20004";
    Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
    URL       = "b24-ar17wx.bitrix24.by";
    Token     = "53100369006e9f06006b12e400000001000...";
    CommentID = "20006";
    Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
- Bash
 - CMD/Bat
 
    oint bitrix24 DeleteResultFromComment \
     --url "b24-ar17wx.bitrix24.by" \
     --comment 20116 \
     --token "***"
    oint bitrix24 DeleteResultFromComment ^
     --url "b24-ar17wx.bitrix24.by" ^
     --comment 20116 ^
     --token "***"
Result
{
 "result": null,
 "time": {
  "start": 1761911638,
  "finish": 1761911638.29004,
  "duration": 0.290038108825684,
  "processing": 0,
  "date_start": "2025-10-31T11:53:58+00:00",
  "date_finish": "2025-10-31T11:53:58+00:00",
  "operating_reset_at": 1761912238,
  "operating": 0
 }
}