api token

  1. O

    how to provide permission to API token?

    hi, i generated API token, but this token don't have permissions, how to provide user permission to my API token?
  2. M

    No ticket for url on any api endpoints with API Token or access ticket

    I have freshly installed a Proxmox VE on a running Debian12 machine, everything works just fine, but i have some problems with the API. import requests import json proxmox_url = "http://localhost:8006/api2/json" node = "debian" auth_token =...
  3. J

    Reason: no such token 'TOKENID' for user 'dev@pve'

    I have exported my token in this form: export PROXMOX_VE_APITOKEN='dev@pve!TOKENID=mytokenicreatedusingthegui' And I get this: error retrieving next VM ID: received an HTTP 401 response - Reason: no such token 'TOKENID' for user 'dev@pve' I also tried this: export...
  4. D

    Change vm args using api + api token authorization schema

    Hello. I am trying to set vm vnc port using api. Previously when I was performing this using "PVEAuthCookie authorization schema" everything worked fine. Now I am trying to switch my script to "PVEAPIToken schema". Problem is that my request does not change args and return '{"data":null}'...
  5. W

    OIDC Token question

    Hey Folks, New to Proxmox and was trying to poke around the API. I stumbled on a openid path ("/api2/json/access/openid") which holds 'auth-url' and 'login' endpoints. Does anyone have experience in using these endpoints to get a API ticket? I currently have working OIDC setup with Google and...
  6. C

    Proxmox and Zabbix

    I have tried everything under the sun to get this to work, from PSK configuration to API Token, etc..., but nothing works, and this is just trying to add the PVE host, not a VM. Please let me know if you need any further information. I would really like to get this working.
  7. S

    property is not defined in schema and the schema does not allow additional properties, while attempting start/stop/reboot.

    Hi Team, We are doing start/stop/reboot, through the curl API, (/nodes/proxmox25/qemu/{$vmid}/status/start /nodes/proxmox25/qemu/{$vmid}/status/stop /nodes/proxmox25/qemu/{$vmid}/status/reboot) and it is throwing the below error, {"data":null,"errors":{"password":"property is not defined in...
  8. N

    [SOLVED] Can't create API Token: Method Post not implemented (501)

    I need your help... I already do a search but can't find the solution for this... I'm trying create a new API token but when I save the information, I got this error What I'm doing wrong? EDIT: Proxmox VE 7.2-7
  9. U

    [SOLVED] unable to access API using PVEAPIToken

    I am trying to use the terraform<->proxmox plugin and for that purpose, I have created a dedicated terraform provisioning user like this: pveum role add TerraformProv -privs "VM.Allocate VM.Clone VM.Config.CDROM VM.Config.CPU VM.Config.Cloudinit VM.Config.Disk VM.Config.HWType VM.Config.Memory...
  10. P

    API ticket 401 authentication failure

    Virtual Environment 7.1-7 I use curl to access the PVE API, yesterday I could get a ticket normally, but today I can only get a null every time I access it, the command I use is: (There is no error in the password) output: * Trying 192.168.1.100... * TCP_NODELAY set * Connected to...
  11. R

    Cannot authenticate to noVNC client using API token.

    Hi, I am using noVNC API from here to authenticate for accessing my proxmox VMs on a webpage. Previously on backend, I was using the ticket returned from this endpoint as password to authenticate to the vnc client. I was also using ticket-based authentication, and it was working fine, giving a...
  12. B

    Can't create API Token - Error 400

    Dear Forum, I would like to create an api Token for pve user, but I receive the following error message: Error Parameter verification failed (400) tokenid: value does not match the regex pattern. I already made an apt update and full-upgrade and a restart but still. Could someone please...
  13. F

    PVE Anbindung zu PBS per API-TOKEN

    Hallo zusammen :) wir probieren gerade den Proxmox-Backupserver aus. Bisher klappt alles ganz gut. PVEs konnte ich verbinden mit einem GUI-User, dem ich weniger Rechte gegeben habe. Leider stelle ich mich vermutlich beim API-Token etwas doof an :( Ich würde allerdings gerne einen Benutzer mit...
  14. T

    Why do I request the API address of the cluster to get the ticket return value is null

    Why do I request the API address of the cluster to get the ticket return value is null
  15. T

    Failed to request API interface authentication

    I added ticket and csrfpreventiontoken to all post requests. Why does the authentication error code always report this error? So does postman
  16. P

    Understanding API Tokens

    I ask for help in understanding how to correctly create and use the API Token. I first create a user and then create a token for that user. A token ID and secret is generated for me. I'm interested in what UUID is in USER @ REALM format! TOKENID = UUID
  17. J

    Authentication Method Affecting ISO Upload

    When using the HTTPS API, it appears that the authentication method affects ISO uploads. When using standard username/password authentication, the upload works as expected. When using an API Token (for the same user with all the user's permissions), the upload fails and the Response is a 501...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!