# `secret.delete` Delete a stored credential. Extensions requiring it will refuse to enable until re-set. - **scope**: `secrets:write` - **storefront-visible** (bumps the catalog generation): no - **destructive**: yes — supports dryRun preview ## Payload | field | type | required | notes | |---|---|---|---| | `key` | string (/^[a-z0-9_]+(\.[a-z0-9_]+)*$/, ≤128 chars) | yes | | ### JSON Schema ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "key": { "type": "string", "maxLength": 128, "pattern": "^[a-z0-9_]+(\\.[a-z0-9_]+)*$" } }, "required": [ "key" ], "additionalProperties": false } ```