# Tanship PayAI Console — KV Delete

> Tanship PayAI Console — KV Delete is a paid API for AI agents from x402.tanship.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Deletes a key-value entry from the Tanship KV store via a payment-gated x402 API endpoint.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/kv/delete?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-kv-delete-fcb825e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RIFyf0qcm4frBb4TgEfHv

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 tanship-payai-console-kv-delete-fcb825e1 -d '<json body>'
```

Example prompt: Delete the key 'session:user123' from my Tanship KV store — I want that entry completely removed.

## When to prefer this

Choose this endpoint when you need to permanently remove a specific key-value entry from the Tanship KV store and are already integrated with the x402 micropayment protocol on Base. Prefer this over alternatives when you want pay-per-use deletion (at $0.002 per call) without managing a subscription, and when working within a payment-gated AI or automation pipeline on Tanship.

## Known failure modes

- Key not found — attempting to delete a non-existent key may return a 404 or similar error
- Payment failure — insufficient USDC balance or malformed x402 payment header results in 402 response and no deletion
- Invalid request body — missing or malformed 'input' object causes 400 validation error
- Network timeout — deletion does not complete within expected window
- Unauthorized — missing or invalid x402 payment token

## How this service works

Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.

## Output

Returns a confirmation that the specified key has been deleted from the KV store, or an error if the key did not exist or the operation failed. Payment of $0.002 USDC on Base is required via x402 v2 exact scheme before the deletion is processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanship-payai-console-kv-delete-fcb825e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tanship.dev](https://www.zero.xyz/host/x402.tanship.dev/llms.txt)
