Client API cancel function for the cpanellicensing module

Purpose

The cancel function allows for cancelling licenses under your account.

Parameters

  • serviceid (required) - The service id of the license you want to cancel
  • ip (required) - The IP address of the license you want to cancel

Note that both serviceid and ip parameters are not required to use this function, but one or the other must exist.

Example JSON Response

{
  "status": "success",
  "message": "Successfully cancelled license 192.168.1.1",
  "data": false
}