Skip to main content

deleteAccount

You can use this method to delete a specific user account.

You can only delete one account at a time, and only accounts visible to the account which has generated the API key.

Note

The account that was used to create the API key cannot be deleted by using this method.

Parameters

Parameter

Type

Optional

Description

accountId

String

No

The ID of the user account to be deleted.

Return value

This method does not return any value.

Example

Request

  {
    "id": "787b5e36-89a8-4353-88b9-6b7a32e9c87f",
    "jsonrpc": "2.0",
    "method": "deleteAccount",
    "params": {
         "accountId": "585d3810aaed70cc068b45f8"
    }
  }  

Response

  {
   "id": "787b5e36-89a8-4353-88b9-6b7a32e9c87f",
   "jsonrpc": "2.0",
   "result": null
  }