cURL
curl --request PATCH \ --url https://api.imperial.gay/images/:id/privacy \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "privacy": "<string>" } '
{ "id": "<string>", "privacy": "<string>" }
Change an upload’s visibility (public, unlisted, private)
Bearer imperial_live_xxxxxxxxxxxxx
public
unlisted
private
curl -X PATCH "https://api.imperial.gay/images/6987cd047baba11ee0f66d98/privacy" \ -H "Authorization: Bearer imperial_live_xxxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "privacy": "private" }'