delete_env
Delete one application environment and the secrets it owns, discarding the ciphertext. Irreversible, and the environment's data key goes with it — recreating the environment means setting every value again on the local crypto plane. Sibling environments and the application itself are untouched; use delete_app to remove all of them. Confirm intent before calling. Returns { ok, env }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Application slug or id, as returned by list_apps (e.g. "storefront"). | |
| env | Yes | Environment slug or id within that application, as returned by list_envs (e.g. "production"). | |
| org | No | Organization slug or id. Omit it when the credential can reach exactly one org — that org is used automatically. With several, the error names every slug you may pass; list them yourself with list_orgs. |