{ "opencollection": "1.0.0", "info": { "name": "Cloudflare / Accounts Secrets API", "version": "4.0.0" }, "items": [ { "info": { "name": "Secrets", "type": "folder" }, "items": [ { "info": { "name": "Cloudflare List Worker Secrets", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/workers/scripts/:script_name/secrets", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "script_name", "value": "", "type": "path", "description": "The name of the Worker script." } ] }, "docs": "List all secrets for a Worker script. Secret values are not returned." }, { "info": { "name": "Cloudflare Add Worker Secret", "type": "http" }, "http": { "method": "PUT", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/workers/scripts/:script_name/secrets", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "script_name", "value": "", "type": "path", "description": "The name of the Worker script." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add or update an encrypted secret for a Worker script." } ] } ], "bundled": true }