Skip to content
Connect an agent

Keys

Delete your account

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

POST/user/delete

TL;DR

QuestionAnswer
What does it do?Delete your account.
What does it take?A JSON body of type 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.

FieldTypeRequiredDescription
confirmstringyesat most 254 characters.

Responses

StatusMeaningBody
204Deleted.none
400What was typed is not the account's address (account.confirmation_mismatch).ErrorResponse
401Not signed in.ErrorResponse
403The request came from an origin that may not make changes.ErrorResponse
409A paid plan is active (account.subscription_active), or an organisation it owns has other people in it (account.owns_shared_orgs).ErrorResponse
429Too many requests.ErrorResponse
503Hosting is not set up on this server.ErrorResponse

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools