Skip to main content

deleteAccount

This method deletes a user account identified through the account ID.

Note

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

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
  }