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 customer 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": "{{visa}}",
"method": "RemovePartner",
"jsonrpc": "2.0",
"params": {
"partnerId": 12345
}
}
Sample response
{
"id": "jsonrpc",
"jsonrpc": "2.0",
"result": null,
"visa": "{{visa}}"
}
