this post was submitted on 07 Feb 2024
9 points (90.9% liked)
Lemmy Support
4645 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
You can call the delete endpoint with the pictrs token your lemmy instance is using to talk to pictrs.
It's quite well documented: https://crates.io/crates/pict-rs
Thanks, but I'm asking because I didn't find the reference documentation especially helpful.
It says I need the "delete token" or "alias". How do I get that for a given URL?
I'm looking for an example that describes how to construct the commands for the API calls knowing only the URL of the image.
Token is probably the guide in the url itself
This seems to suggest that you have to get it from lemmy when you first uploaded the image