delete_images

Function delete_images 

Source
pub async fn delete_images(
    infra: &InfraContext<'_>,
    token: &str,
    image_id_vec: &[&str],
    settings_hsm_group_name_opt: Option<&str>,
) -> Result<Vec<String>, Error>
Expand description

Run validate_image_deletion then delete each image in image_id_vec, best-effort.

Individual delete failures are logged and skipped — the function keeps going so a single backend hiccup doesn’t strand the rest of the batch. The returned vector lists exactly the ids the backend confirmed removed.