this post was submitted on 22 Aug 2023
18 points (95.0% liked)
Lemmy Support
4656 readers
21 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah. I guess we could fetch all image ids from the database excluding those uploaded to our local instance, and loop them through the
DELETE /image/delete/{delete_token}/{file}
API. But I've no idea how to get thedelete_token
, seems like it's available only during image upload.