caddy_config_delete
Delete a Caddy config node at a specified JSON path. Removes the node and all descendants, with confirm required for safety.
Instructions
Delete config at a JSON path. Removes the config node at the specified path. Deleting a parent node also deletes every descendant -- e.g. deleting 'apps/http/servers/srv0' removes that server and all of its routes. Requires confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Config path to delete (e.g., 'apps/http/servers/srv0/routes/0') | |
| confirm | No | Must be true to actually delete the config node (safety) |