---
title: "Delete the account of this key (accounts made with POST /v1/agents/init)"
method: DELETE
path: "/v1/account"
tags: ["account"]
---

# Delete the account of this key (accounts made with POST /v1/agents/init)

`DELETE /v1/account`

## Request

- Base URL: `https://api.korely.ai`
- URL: `https://api.korely.ai/v1/account`
- Auth: HTTP bearer

Delete, for good, the account this key belongs to: every key, project,
memory and fact, and its subscription at Polar if it has one. Only for an
account made with POST /v1/agents/init that nobody signs in to; 409
`account_has_login` for one with a login, which closes from the
dashboard. 400 `confirmation_required` without `?confirm=true`. The
reply counts the rows removed per table. Needs `memories:write`.

## Query parameters

- `confirm` boolean: Must be true: the account, its keys and every memory are deleted for good.

## Response `200`

Successful Response

- AccountDeleted
  - `deleted` boolean
  - `removed` object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/korely/apis/korely-agents-api.md) · [All operations](https://skmtc.dev/korely/apis/korely-agents-api/llms.txt) · [OpenAPI document](https://skmtc.dev/korely/apis/korely-agents-api/revisions/8a40bf09eca1?raw)
