Documentation

messageservice.sender.delete

Scope: catalog Permissions to execute: for all

messageservice.sender.delete - deletes registered SMS-provider.

Parameter Description
CODE Provider ID.

Example

	function uninstallProvider(provider)
	{
		BX24.callMethod(
			'messageservice.sender.delete',
			{
				'CODE': provider
			},
			function(result)
			{
				if(result.error())
					alert('Error: ' + result.error());
				else
					alert("Success: " + result.data());
			}
		);

	}

© «Bitrix24», 2001-2024