Documentation

crm.contact.delete

Scope: catalog Permissions to execute: for all

crm.contact.delete(id)

Deletes the specified contact and all the associated objects.

Parameters

Parameter Description
id Specifies the contact ID.

Example

	var id = prompt("Enter ID");
		BX24.callMethod(
			"crm.contact.delete", 
			{ id: id }, 
			function(result) 
			{
				if(result.error())
					console.error(result.error());
				else
					console.info(result.data());
			}
		);	
</script>


© «Bitrix24», 2001-2024