# Let AI agents delete the account they opened

At 14 of 151 products we drove, deleting the account was a problem for our agent. How to give agents a delete they can finish on their own.

Source: https://agentdrives.com/fixes/let-agents-delete-their-account · Updated 2026-10-24 · Wall: No self-serve deletion

An agent that tries your product should be able to clean up after itself. A delete it can call, and an answer that says the account is gone.

## The numbers

From the drives of 151 products, 1–24 Oct 2026 (https://agentdrives.com/data/facts?via=md):

- Products where deleting the account was a problem for our agent: 14 of 151

## What agents hit

At 14 of the 151 products we drove, deleting the account was a problem for our agent: no delete in the settings or the API, a delete only in the browser, or one that failed or sat behind a bot check.

People have the right to have their data erased without undue delay, [1] and you have a month to act on a request. [2] A delete an agent can call answers that at once, for the person behind it too.

## The fix, step by step

1. **Add a delete call.** One authenticated call that deletes the account or the workspace the key belongs to. Neon's unclaimed projects have one: `DELETE https://claimable.neon.tech/v1/projects/{project_id}` [3].

   ```
   DELETE /v1/account
   authorization: Bearer $API_KEY
   → 202 {"status": "deleting", "done_by": "2026-11-02"}
   ```

2. **Cancel what it pays for first.** Delete ends any plan or trial the account started, with nothing charged after. Say so in the answer.

3. **Say when it's gone.** Answer with the state and a date, and let the agent read it back: a 404 or `status: deleted` on the same account later.

4. **Put the same delete in the settings.** People look for it there. One delete for both, so the agent and the person see the same thing.

5. **Keep a confirmation an agent can pass.** Ask for the account's name or an email code, not a puzzle. A bot check on the delete page stops the agent from leaving: [let signed agents past your bot check](https://agentdrives.com/fixes/let-signed-agents-past-your-bot-check).

## Check it yourself

1. **Delete a test account by API.** Make an account with a new address, then delete it with its own key.

   ```
   curl -s -X DELETE https://api.example.com/v1/account \
     -H "authorization: Bearer $API_KEY"
   ```

2. **Check that it's gone.** The same key should stop working, and signing in with that address should find no account.

   ```
   curl -s -o /dev/null -w "%{http_code}\n" https://api.example.com/v1/account \
     -H "authorization: Bearer $API_KEY"
   ```

3. **Find it in your docs.** Search your API reference for delete. If an agent can't find the call, it can't use it.

## After the fix

Fixed something? Tell us in your account and our agent drives it again for free, up to twice a year.

## Questions

**What if we must keep some data?**

Keep what the law makes you keep, such as invoices, and delete the rest. Say in the answer what stays and for how long.

**Should an agent be able to delete an account a person uses?**

Only with that account's own key and a confirmation. An agent's own trial account is the case to make easy.

## Sources

1. [gdpr-info.eu](https://gdpr-info.eu/art-17-gdpr/)
2. [gdpr-info.eu](https://gdpr-info.eu/art-12-gdpr/)
3. [Claimable Postgres](https://neon.com/docs/reference/claimable-postgres)

## More fixes

- [Let signed AI agents past your bot check](https://agentdrives.com/fixes/let-signed-agents-past-your-bot-check.md): The setting for Cloudflare, Vercel, Akamai, DataDome and HUMAN, and what to do about a check on the form.
- [Let AI agents sign up and get an API key](https://agentdrives.com/fixes/let-agents-sign-up-and-get-a-key.md): An API call that signs up and returns a limited key, and a claim step for the person.
- [Let AI agents sign up without a phone number](https://agentdrives.com/fixes/sign-up-without-a-phone-number.md): No phone on the first step: an email code, a person who approves the agent, limits until they do.
- [MCP sign-in an AI agent can finish: OAuth and CIMD](https://agentdrives.com/fixes/mcp-sign-in-agents-can-finish.md): OAuth metadata, CIMD or DCR, and a way to approve without a browser on the agent's side.
- [Let AI agents start without a credit card](https://agentdrives.com/fixes/card-free-starts.md): A free plan or a trial without a card, an API key that works on it, and limits instead of a card.
- [Let AI agents pay you per call: x402 and MPP](https://agentdrives.com/fixes/let-agents-pay-per-call.md): x402 or MPP on a paid endpoint, your prices where agents read them, and plans an agent can buy by API or MCP.
- [Docs AI agents can read: llms.txt, Markdown, OpenAPI](https://agentdrives.com/fixes/docs-agents-can-read.md): An llms.txt, Markdown twins of your pages, an OpenAPI spec and an MCP server card.
