# Delete your account

> Page: https://docs.plotwork.dev/api/post-user-delete. Index of every page: https://docs.plotwork.dev/llms.txt

Deletes the account and everything it holds, the organisations it owns alone included.

`POST /user/delete`

## TL;DR

| Question | Answer |
|---|---|
| What does it do? | Delete your account. |
| What does it take? | A JSON body of type [`DeleteAccountBody`](https://docs.plotwork.dev/api/schemas.md#deleteaccountbody). |
| What does it return? | Status 204 with no body. |
| What can go wrong? | `400` what was typed is not the account's address (`account.confirmation_mismatch`); `401` not signed in; `403` the request came from an origin that may not make changes; `409` a paid plan is active (`account.subscription_active`), or an organisation it owns has other people in it (`account.owns_shared_orgs`); `429` too many requests; `503` hosting is not set up on this server. Every failure uses the one error envelope. |

## What it does

Deletes the account and everything it holds, the organisations it owns alone included. confirm must be the account's address. Refused while a paid plan is active, and while it owns an organisation anyone else is in.

## Request body

The body has the type [`DeleteAccountBody`](https://docs.plotwork.dev/api/schemas.md#deleteaccountbody).

| Field | Type | Required | Description |
|---|---|---|---|
| `confirm` | `string` | yes | at most 254 characters. |

## Responses

| Status | Meaning | Body |
|---|---|---|
| 204 | Deleted. | none |
| 400 | What was typed is not the account's address (`account.confirmation_mismatch`). | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 401 | Not signed in. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 403 | The request came from an origin that may not make changes. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 409 | A paid plan is active (`account.subscription_active`), or an organisation it owns has other people in it (`account.owns_shared_orgs`). | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 429 | Too many requests. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 503 | Hosting is not set up on this server. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |

## See also

| Doc | Why |
|---|---|
| [API reference](https://docs.plotwork.dev/api/reference.md) | Every endpoint, and the error envelope |
| [Schemas](https://docs.plotwork.dev/api/schemas.md) | Every request and response type |
| [Tool reference](https://docs.plotwork.dev/mcp/tools.md) | The operations as callable tools |
