mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-25 07:06:00 +03:00
[GH-ISSUE #213] Connect to API using tickets #120
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Triw-12 on GitHub (Jul 11, 2025).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/213
Hi,
Is there any way of making requests using the ProxmoxAPI class but initialising it with the PVEAuthCookie and CSRFPreventionToken obtained after making the call to the Proxmox API on /access/ticket, even by a roundabout way?
Have a nice day
@jhollowe commented on GitHub (Jul 11, 2025):
All you need to do is pass the ticket/cookie as the
passwordProxmoxer will use that to get a new cookie and CSRF token and will automatically refresh then when needed (it expires every 2 hours, so proxmoxer refreshes the ticket when you run any command after 1 hour of use)
Nonevalues from request params and data (Fixes #119) #183