Description

This function unregisters a Ruby application on an account.

This function only unregisters an application. It does not delete the application. You must manually delete an application from your system.


Examples




https://hostname.example.com:2083/cpsess##########/execute/PassengerApps/unregister_application?name=slippers



$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
 
// Unregister the slippers application on the cPanel account.
$poll = $cpanel->uapi(
    'PassengerApps', 'unregister_application',
    array(
        'name' => 'slippers',
  )
);



my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
 
#  Unregister the slippers application on the cPanel account.
my $poll = $cpliveapi->uapi(
    'PassengerApps', 'unregister_application',
    {
        'name'    => 'slippers',
  }
);



<!-- Unregister the slippers application on the cPanel account. -->
[% execute('PassengerApps', 'unregister_application', { 'name' => 'slippers', } ) %]



uapi --user=username PassengerApps unregister_application name="slippers"



{
  "messages": null,
  "errors": null,
  "status": 1,
  "metadata": {
      
  },
}



Parameters

ParameterTypeDescriptionPossible valuesExample
namestring

Required

The application to unregister.

A valid Ruby application on the cPanel account.slippers

Returns

This function only returns metadata.