{"uid":"cap_4Wq7VHqSAoMMoV85vjMDl","slug":"pyfile-x402-secret-delete-api-ea3057cd","name":"Pyfile x402 Secret Delete API","description":"Delete a stored secret by id + access token.","url":"https://pyfile-agent.taile3ff35.ts.net:10000/secret/delete?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json","description":"Output payload format."},"example":{"type":"object","required":["ok","deleted"],"properties":{"ok":{"type":"boolean"},"deleted":{"type":"boolean","description":"True when the secret was removed."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W1Bld0NAw09jmAasXQOCI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deletes a stored secret by its ID and access token, permanently removing it from the Pyfile secret store.","exampleAgentPrompt":"Delete the secret with ID 'sec_abc123' and access token 'tok_xyz789' from Pyfile — I no longer need it and want it permanently removed.","exampleUseCases":[{"title":"Post-task secret cleanup","prompt":"I just finished the task that needed secret 'sec_abc123'. Delete it from Pyfile using access token 'tok_xyz789' so it doesn't sit around unused."},{"title":"Revoking a compromised credential","prompt":"One of my agent secrets may have been exposed — delete secret ID 'sec_compromised99' with access token 'tok_revoke42' immediately to prevent misuse."},{"title":"Automated secret rotation teardown","prompt":"As part of my secret rotation workflow, delete the old secret 'sec_old_key_007' using access token 'tok_rotation_cleanup' now that the new one is active."}],"resultDescription":"Returns a JSON object with 'ok' (boolean indicating the request succeeded) and 'deleted' (boolean confirming the secret was actually removed from storage).","failureModes":["Invalid or mismatched access token returns an error or ok:false","Secret ID not found results in ok:false or deleted:false","Attempting to delete an already-deleted secret may return deleted:false","Network or service unavailability causes request failure","Missing required fields in the POST body causes a validation error"],"whenToPreferThis":"Use this endpoint when an agent or workflow needs to permanently remove a secret from Pyfile's secret store after use, rotation, or compromise. Prefer this over generic secret management APIs when operating within the Pyfile x402 ecosystem, especially when secrets were created and stored via the same platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:32:18.111Z","isFirstParty":false,"canonicalSlug":"pyfile-x402-secret-delete-api-ea3057cd"}