crm.timeline.comment.delete
Scope: catalog Permissions to execute: for all
crm.timeline.comment.delete(id)
The method deletes a comment.
Limit: when a comment has bindings to several elements, you must remove them first via crm.timeline.bindings.unbind.
Parameters
Parameter | Description |
---|---|
id | Timeline comment ID. |
Example:
var id = prompt("Enter ID"); BX24.callMethod( "crm.timeline.comment.delete", { id: id }, function(result) { if(result.error()) console.error(result.error()); else console.info(result.data()); } );
© «Bitrix24», 2001-2024