pub async fn set_enabled( __arg0: State<AppState>, __arg1: Path<String>, __arg2: Json<SetEnabledBody>, ) -> Result<StatusCode, ApiError>
PUT /api/automations/{id}/enabled — enable or disable without deleting.
PUT /api/automations/{id}/enabled