api access

PavelGolyakov

New Member
Nov 13, 2024
14
0
1
I'm trying to use the api to supply data to a homepage widget but I can't seem to get access.

Here's what I'm trying:

Code:
root@homepage:~# curl -i -L -k -H 'Authorization: PBSAPIToken=homepage@pam!homepage:9cc0aecd-e899-46fe-86b0-71f1f7aa02cc' https://192.168.68.112:8006/api2/json/cluster
/resources
HTTP/1.1 401 No ticket
Cache-Control: max-age=0
Connection: close
Date: Thu, 28 Aug 2025 19:30:32 GMT
Pragma: no-cache
Server: pve-api-daemon/3.0
Expires: Thu, 28 Aug 2025 19:30:32 GMT

Anydoby can help me?
 
You might not want to post your api token on an open forum like this...

I've no experience with the pve api, sorry.
 
However after some reading (and consulting an LLM), I can see that you seem to have a mixture of PVE and PBS command. I suspect you are interrogating a PVE, but have provided a PBS token.
 
Thank you for your attention, Brian, that is can't help me. I also have access for LLM's and i saw that info already. I need to help from real ppl.
 
Last edited: