deploy.destroy
Permanently destroy all cloud resources for a deployment. Requires deployment ID; optional audit reason recorded. Irreversible.
Instructions
DESTRUCTIVE: permanently destroy all cloud resources owned by a deployment. Irreversible — confirm the deploymentId with the user first. Prefer deploy.teardown_latest only when intentionally removing the newest active deployment. Optional reason is stored for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional audit reason for the destroy | |
| deploymentId | Yes | Deployment id whose resources should be destroyed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| destroyedAt | Yes | ||
| deploymentId | Yes |