Description

This function displays the proxy address for a specific application.

Examples


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$get_proxyaddress = $cpanel->api1('ProxyUtils','proxyaddress', array('cpanel')) ); // Call the function.

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $get_proxyaddress = $cpliveapi->api1('ProxyUtils','proxyaddress', ['cpanel'] ); # Call the function.

<cpanel Module="ProxyUtils::proxyaddress($FORM('newapp'))">
cpapi1 --user=username ProxyUtils proxyaddress cpanel

appname.host.com

Parameters

ParameterTypeDescriptionPossible valuesExample
newappstring

Required

The application's name.

  • cpanel
  • webmail
  • whm
  • webdisk
cpanel

Returns

This function returns the proxy address for the application.