this post was submitted on 22 Aug 2023
17 points (94.7% liked)
Lemmy Support
4652 readers
1 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.