deleteCharacter

Delete a character from this account.

Permanent. The character, its level and everything it was carrying are gone, and the game offers no way to restore any of it. A character currently in the lobby is refused — leave with `characterSelect` first.

In Session & character.

Request

POST /api/v1/sessions/{accountKey}/actions/deleteCharacter

Parameters

NameTypeRequiredDescription
characterId (character_id)stringyesFrom `chars`.

Example request

{ "characterId": "630211546215118851" }

Response

`{ ok: true, characters, slots }` — the roster without it.

FieldTypeMeaning
charactersobject[]The roster after the deletion, so there is nothing to re-read.
slots.freeintegerHow many slots are now open.

Example response

{
  "ok": true,
  "result": 1,
  "characterId": "630211546215118851",
  "characters": [],
  "slots": { "used": 0, "total": 0, "available": 8, "free": 8 }
}

Errors

CodeWhen
action_failedThe character is in the lobby, or the id is not on this account.
plan_limitNot on the free plan.

See also

DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.