Documentation

messageservice.sender.delete

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-2022
Up