Skip to main content

"dropAccounts"

JSON ADMIN "dropAccounts" action marks an account as dropped from the server

The "dropAccounts" action marks an account as dropped from the server.

Request examples

{
  "api": "admin"
  "action": "dropAccounts",
  "params":
  {
    "usernames": [ "NewAccount1" ]
  },
  "authToken": "replaceWithAuthTokenFromCreateSession"
}
{
  "api": "admin",
  "action": "dropAccounts",
  "params": {
    "usernames": [
      "NewAccount3",
      "NewAccount4"
    ]
  },
  "authToken": "replaceWithAuthTokenFromCreateSession",
  "requestId": "1"
}

Use the dropAccounts API action to mark an account as dropped from the server

dropAccountdropAccountsdrop accountAPI actionJSON ADMIN APIjsonAction
Table 1. account property summaries

Property

Description

Default

Type

Limits (inclusive)

usernames

specifies the names of the accounts to be dropped

[]

array