AAAAAA
AAAAAA
IImmich
Created by AAAAAA on 12/31/2024 in #help-desk-support
delegate admin rights
When I setup my immich instance, I created a separate admin account. It has no images or videos. What's the best way to delegate admin privileges to another account?
7 replies
IImmich
Created by AAAAAA on 3/13/2023 in #help-desk-support
Some api calls end in 401 despite provided authorization
I am writing an immich prometheus exporter for a neat grafana dashboard. Two api endpoints give me difficulties by throwing a 401 error code even though I am supposed to be logged in. I login through POST /api/auth/login with the admin username and password. then i successfully call server/version and /server-info. when i try to logout or get server stats the following error code is thrown: {"statusCode":401,"message":"Authentication required","error":"Unauthorized"}"} My coding knowledge is limited so bear with me please. So far i have tried it in two ways and both are unsuccessful requests.request("GET", url, headers=headers) and // with auth=HTTPBasicAuth('user','password') requests.request("GET", url, headers=headers, auth=auth) any help is appreciated
9 replies