api

  1. [SOLVED] API request with curl

    Hi, this is my very first message on this forum so excuse me if I do something wrong. I'm currently trying to change the cloud-init parameter (ipconfig) by using curl. I've tried several request and the latest was something like this : curl -s -k --cookie "PVEAuthCookie=$ticket" -H...
  2. OpenAPI/Swagger REST API Spec

    Hi! First time user of Proxmox. Looking to automate and store my infrastructure changes as code using Terraform. Found a Proxmox Terraform plugin, but it only covers basic details, not the full suite of options available via the REST API. I was looking into adding to it when I noticed that the...
  3. Proxmoxer possibily expire token

    Hi I integrated proxmox with cuckoo thanks to the use of proxmoxer, but after a few hours I have the error related to the lack of authentication: raise AuthenticationError ("Couldn't authenticate user: {0} to {1}". format (self.username, self.base_url + "/ access / ticket")) in...
  4. Proxmox API - Create VMs

    Thanks in advance for the help and sorry for my English . I am working on my final year project and I have decided to use Proxmox VE as a virtualization environment. I have the need to create a virtual machine from my own web application but I don't know where to start very well. Could someone...
  5. VM PNG RRD API Statistics

    Hello, I'm using the Proxmox API to get png RRD statistics, but I'm receiving something like this: { "data": { "filename": "/var/lib/rrdcached/db/pve2-vm/800_cpu.png", "image":"<encoded string>" } } What is it encoded in, and how should I decode it? Also, it doesn't seem...
  6. Permissions necessary to update custom cert via API

    I'm trying to upload an SSL certificate via the API (https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/certificates/custom) using the Proxmoxer Python API, with an API Token tied to the root user. I think I've gotten my code right, but am seeing the following error when I...
  7. how to know progressing vm migrating

    Hello, I'm using proxmox 6.2 api. I would like to know how i can have the progressing vm migrating in real time. I'm looking for in https://pve.proxmox.com/pve-docs/api-viewer/index.html but i don't find the command ! Can you help me ? Thanks
  8. [SOLVED] Unable to list VMs using API or CLI

    I have a VM in running state, but some how API or pvesh command does not shows it. Not sure, what am I missing here. root@proxmox:~# qm list | grep -i running 105 myrke2-node1 running 8096 20.00 12594 root@proxmox:~# root@proxmox:~# pvesh get /nodes...
  9. Proxmox API allow HTTP connections

    Hi, We need to be able to debug network communication between an apliacation using HTTPS API and proxmox host. For it we need transmission to not be encrypted - is there any way to allow plain HTTP communication?
  10. Proxmox networking problems everyday at the same time

    Hi, We use extensively proxmox HTTP API for creating/managing our containers. We do multiple HTTP requests to API 24/7 - approximately 100-200 per minute. Whole day our service is able to connect to HTTP API and perform needed actions. However, everyday around 18:30 GTM+1, HTTP API for...
  11. API Special Cases: List of endpoints for root and PAM users only

    The API viewer [1] cannot be searched for the necessary permissions of the API endpoints. Wanted to know which API endpoints need a special user, so that only in these special cases those users are used (especially avoiding root). So I checked all endpoints of the /nodes API path and their...
  12. Get CPU model name using REST API

    I use Proxmox REST API to get info about hypervisors. I am able to iterate [nodes|storages|qemu] and get basic info about every item. Like this is path for storages: $path = "/nodes/$nodeId/storage"; But I can't find the exact CPU model name like 24 x Intel(R) Xeon(R) CPU E5-2620. Can somebody...
  13. Using The MailGateway API

    Hey Guys, I am having a very hard time understanding the proxmox mail gateway's api calls... I am 99% sure it's just me, so hopefully someone can help me? How can I call for example the login function, and the GET /api2/json/config/domains/ function afterwards? Also do I need to allow an IP...
  14. Proxmox VE U2F with Application password

    Hi, We want to enforce usage of U2F on our proxmox datacenter. Hovewer we still do need to access API for 1 of our accounts (api account using proxmoxer for deployment) to deploy CTs. Is thera a way to generate something like application password and enforce U2F for all users?
  15. RemoteDisconnected('Remote end closed connection without response')

    HI, I do have a python script which use pyproxmox. This script shows quite often an ConnectionError(ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)),) Error. And yes we do have GUI connection abort issues too. Is there any know...
  16. [SOLVED] agent/exec-status and agent/file-read issue

    Aloha! Accoding to https://pve.proxmox.com/pve-docs/api-viewer/ api methods "GET /api2/json/nodes/{node}/qemu/{vmid}/agent/exec-status" and "GET /api2/json/nodes/{node}/qemu/{vmid}/agent/file-read" are using request type GET, there no present request type POST for this commands. However, for...
  17. [SOLVED] Proxmox API: Unable to create VM - Already exists on node

    I am not sure whether this is the right place to address this, but we can figure that out together :) When trying to create a VM via the API following error is returned: 500 unable to create VM 109 - CT 109 already exists on node '' The PVE version I am using is: pve-manager/6.1-3/37248ce6...
  18. AnsiballZ_proxmox_kvm.py and API's

    This file is retained in ~/.ansible/tmp/ansible-tmp-########.##-########/AnsiballZ_proxmox_kvm.py Using it from an Ansible playbook from the module ansible.modules.proxmox_kvm producing the error ending the run without a VM create... creation of qemu VM centos-static with vmid 137 failed...
  19. PHP API VncProxy und VncWebSocket

    Guten Tag, ich bin mittlerweile mit meinen nerven am Ende. Ich versuche gerade über meinen WebServer eine VNC Verbindung zum Proxmox Server aufzubauen. Steuerungen wie neustarten und stoppen von VMs mittels der Api funktioniert. Allerdings das einbinden der VNC geht nicht. Aber ich verstehe...
  20. Proxmox API + Postman

    Hi guys. I'm starting with proxmox, i need authenticate with PVEAuthCookie in Postam, but he return Status: 401 No ticket. In authentication in POST I succeed but in GET i have error. Can yout help-me? Login with success! Return nodes with error

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!