{"slug":"1gateway-dev-v1-files-delete-0df651","title":"Use when an agent must remove a stored file before it expires","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/files/delete","category":"market","description":"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=0123456789abcdef0","price_listed":0.002,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:143","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"id":"0123456789abcdef0123456789abcdef"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"id":{"description":"File id returned by /v1/files/upload (owned by the paying wallet)","pattern":"^[0-9a-f]{32}$","type":"string"}},"required":["id"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"bytesFreed":{"type":"integer"},"deletedAt":{"type":"string"},"id":{"type":"string"},"note":{"type":"string"},"status":{"type":"string"}},"required":["status","id","bytesFreed","deletedAt","note"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"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","last_updated":"2026-11-23T01:00:42.273Z","schemes":["exact"]}