async fn delete_plugin_config(
__arg0: State<Arc<SharedState>>,
__arg1: Path<String>,
) -> impl IntoResponseExpand description
DELETE /api/plugin-configs/{name} — removes the named definition, then
revalidates and recompiles. Returns {"status": "deleted"} on success.
Errors: 404 Not Found if it does not exist; 400 Bad Request if a
policy still references it (recompilation fails, nothing changes).