Skip to content

Instantly share code, notes, and snippets.

View hakanu's full-sized avatar
🎯
Focusing

Hakan hakanu

🎯
Focusing
View GitHub Profile
@hakanu
hakanu / immich_bulk_delete_assets.py
Created August 27, 2025 21:06
Immich bulk delete by multiple ids
import requests
from datetime import datetime
# === CONFIG ===
IMMICH_URL = "http://localhost:2283/api"
API_KEY = os.environ.get("IMMICH_API_KEY")
DATE_AFTER = "2025-08-25T00:00:00.000Z"
DATE_BEFORE = "2025-08-29T00:00:00.000Z"
HEADERS = {