You can use the RemoveAccount method to remove an existing account. You must delete and purge all volumes associated with the account using DeleteVolume before you can remove the account. If volumes on the account are still pending deletion, you cannot use RemoveAccount to remove the account.


This method has the following input parameter:

Name Description Type Default value Required
accountID The ID of the account to remove. integer None Yes

Return value

This method has no return value.

Request example

Requests for this method are similar to the following example.

   "method": "RemoveAccount",
   "params": {
     "accountID"  : 25
   "id" : 1

Response example

This method returns a response similar to the following example:

 "id" : 1, 
 "result" : { } 

New since version