Removing customers in JSON-RPC API

To remove a customer, use the RemovePartner parameter.

Once a customer is removed, this cannot be undone. There is no way to undo the deletion of a customer.

You can remove only those customers that do not have any devices.

Required parameters

Parameter Description Supported values
partnerId

The ID of the customer to remove

<int> Integer

Sample request

{
    "id": "jsonrpc",
    "visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000",
    "method": "RemovePartner",
    "jsonrpc": "2.0",
    "params": {
	"partnerId": 12345
    }
}

Sample response

{
    "id": "jsonrpc",
    "jsonrpc": "2.0",
    "result": null,
    "visa": "33491-50121-1-1512736778-A99E8BAC8AC82XXXXX0000000XXXXXXXXXXXX00000"
}