# 2s Agent Memory Delete

> 2s Agent Memory Delete is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-14).

Deletes a specific key from an AI agent's persistent memory store by key name

## Facts

- Endpoint: POST https://2s.io/api/agent/memory/delete
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-agent-memory-delete-aa3df08f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AzkQGIvHturwdsfdCxLoy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-agent-memory-delete-aa3df08f -d '<json body>'
```

Example prompt: Delete the memory entry with key 'projects/2026/q1' from my agent memory store — I no longer need that record.

## When to prefer this

Use this endpoint when an AI agent needs to remove a specific named key from its persistent memory store on 2s.io, especially in pay-per-call workflows where no API key or subscription is desired. Prefer this over general-purpose KV stores when already using the 2s.io agent primitive ecosystem and paying via USDC on Base or Solana.

## Known failure modes

- Key does not exist — may return ok:true with deleted:false or an empty items array
- Invalid key format or missing key field — likely returns a 400 error
- Payment failure via x402 — call is not executed, payment error returned
- Network timeout — no confirmation of deletion
- Unauthorized or expired payment — call rejected before execution

## How this service works

The (most) everything API: one pay-per-call API giving AI agents ground-truth data across hundreds of endpoints — public records, finance, crypto, security, legal, health, geo, and EDI. USDC via x402, no signup, no API keys.

## Output

Returns a JSON object with ok:true, an items array listing each deleted key and its deleted status, a total count of deletions, and source metadata including the provider and license info.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string",
   "description": "Key to delete."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-agent-memory-delete-aa3df08f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
