# 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/guides/let-agents-delete-their-account?via=md · 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/guides/let-signed-agents-past-your-bot-check?via=md).

## 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 guides

- [Make your SaaS agent-ready: the whole path, step by step](https://agentdrives.com/guides/make-your-saas-agent-ready.md?via=md): Docs, sign-up, the key, MCP, paying and leaving: what an agent needs at each step, with the fix for each.
- [An MCP server is not a way in for AI agents](https://agentdrives.com/guides/an-mcp-server-is-not-a-way-in.md?via=md): Most products have an MCP server. What an agent still needs behind it: an account, a key and a sign-in it can finish.
- [How AI agents pay for software: x402, MPP and checkouts](https://agentdrives.com/guides/how-ai-agents-pay-for-software.md?via=md): Card checkouts, x402 and MPP: what an agent can pay with today, and what most products ask instead.
- [llms.txt, OpenAPI and MCP alone don't let AI agents in](https://agentdrives.com/guides/agent-ready-files-dont-open-the-door.md?via=md): Most products publish llms.txt, OpenAPI or MCP. Most still keep agents out. What the files do, and what they can't.
- [Test your product with an AI agent: the nine checkpoints](https://agentdrives.com/guides/test-your-product-with-an-ai-agent.md?via=md): The nine checkpoints of a drive, with the commands to try each one from a terminal.
- [Let signed AI agents past your bot check](https://agentdrives.com/guides/let-signed-agents-past-your-bot-check.md?via=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/guides/let-agents-sign-up-and-get-a-key.md?via=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/guides/sign-up-without-a-phone-number.md?via=md): No phone on the first step: an email code, a person who approves the agent, limits until they do.
- [Let AI agents sign up with their own email address](https://agentdrives.com/guides/accept-any-email-address.md?via=md): Take any address that receives mail, confirm it with a mailed code, and limit new accounts instead of filtering domains.
- [MCP sign-in an AI agent can finish: OAuth and CIMD](https://agentdrives.com/guides/mcp-sign-in-agents-can-finish.md?via=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/guides/card-free-starts.md?via=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/guides/let-agents-pay-per-call.md?via=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/guides/docs-agents-can-read.md?via=md): An llms.txt, Markdown twins of your pages, an OpenAPI spec and an MCP server card.

Every guide: https://agentdrives.com/guides.md?via=md
