pub(crate) async fn delete_agent_definition(
state: &AppState,
id: &str,
via: &'static str,
) -> Result<(), String>Expand description
Deletes the agent definition id with everything that belongs to it: its parked block (which stops it), its
identity rows, and a container agent’s container and volumes. The deleteagent RPC and Agents delete both
come here; via names the caller in the log.