Documentation

crm.company.delete

Scope: catalog Permissions to execute: for all

crm.company.delete (id)

Deletes the specified company and all the associated objects.

Parameters

Parameter Description
id The company ID.

Example

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


© «Bitrix24», 2001-2024