← Back to directory

Use when an agent must remove a stored file before it expires. Pay from the wall...

https://1gateway.dev/v1/agent/files/delete

Overview

Use when an agent must remove a stored file before it expires. Pay from the wallet that uploaded it (USDC on any EVM network in the 402 quote). Input: id. Output: status deleted, bytes freed. Public and signed links stop working at once. Missing file: 404, not charged. Example: ?id=0123456789abcdef0123456789abcdef

Protocol x402
Price $0.0020
Payment Asset USD Coin
Payment Network Base
Category crypto/wallet
Provider Agent File Storage
Source bazaar
Indexed 2026-12-01 21:25:52

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "id": "0123456789abcdef0123456789abcdef" }, "type": "http" }

Output Schema

{ "example": { "bytesFreed": 68, "deletedAt": "2026-11-09T00:00:00.000Z", "id": "fedcba9876543210fedcba9876543210", "note": "Public and signed links to this file stop workin…", "status": "deleted" }, "type": "json" }