Error set up permission to SDN zone via API using token

kemeris

Member
Nov 23, 2021
10
0
6
44
Hi, token has PVEAdmin permission for "/" path with propogate, but always getting error:
Code:
403 Permission check failed (/sdn/zones/z100007, Permissions.Modify)

Other API endpoint calls working fine. Any ideas what could be wrong?

Bash:
curl 'https://x.x.x.x:8006/api2/json/access/acl/' --insecure -v\
  -X 'PUT' \
  -H 'Authorization: PVEAPIToken=netbox.zeusman.lt@pve!netbox=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
  --data path=/sdn/zones/z100007\
  --data groups=g100007\
  --data roles="SDN.Use"\
  --data propagate=true

Tokens permission:

1710432004599.png

I would appreciate for help.
 

Attachments

  • 1710431889466.png
    1710431889466.png
    3.7 KB · Views: 3
Last edited:

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!