Child pages
  • WHM API 1 Functions - remove_integration_link
Skip to end of metadata
Go to start of metadata

This function removes an integration link from the cPanel interface.


 JSON API
https://hostname.example.com:2087/cpsess##########/json-api/remove_integration_link?api.version=1&user=username&app=WHMCS%2BBilling
 XML API
https://hostname.example.com:2087/cpsess##########/xml-api/remove_integration_link?api.version=1&user=username&app=WHMCS%2BBilling
 Command Line
whmapi1 remove_integration_link user=username app=WHMCS_Billing


Notes:

  • You must URI-encode values.
  • For more information and additional output options, read our Guide to WHM API 1 documentation or run the whmapi1 --help command.
  • If you run CloudLinux™, you must use the full path of the whmapi1 command:

    /usr/local/cpanel/bin/whmapi1

 Output (JSON)
{
   "data":{
   },
   "metadata":{
      "version":1,
      "reason":"Ok",
      "result":1,
      "command":"remove_integration_link"
   }
}
 Output (XML)
<result>
    <data/>
    <metadata>
        <version>1</version>
        <reason>Ok</reason>
        <result>1</result>
        <command>remove_integration_link</command>
    </metadata>
</result>


Note:

Use WHM's API Shell interface (WHM >> Home >> Development >> API Shell) to directly test WHM API calls.

ParameterTypeDescriptionPossible valuesExample
userstring

Required

The cPanel account name.

A valid cPanel username.username
appstring

Required

The name of the integration link to remove.

A valid string.WHMCS_billing

This function only returns metadata.