Hi Team ,
I need your help on this . I have create a NSX API user named " netadmin " which is super user .. I can see this user in Network and security .. I am also able to login into NSX Manager GUI via this user ..but i when i run this API "//api/2.0/global/heartbeat .. i get 403 access forbidden .. why is that .. i am able to run the same query with admin and other super user...
NSX Manager version : 6.3.2.5672532
vCenter version : Version 6.0.0 Build 9154154
This user is important as it is used to authentication data center user created in Checkpoint firewall .
Please help me on the same ..
Tarun Gupta
Both users has the same "role" ?
Have you tried using different REST API client ? im using Postman and its working like a charm. Its a Google Chrome Extension.
Isin't there too much "/" in your Get Query?
https://10.220.33.97//api/2.0/global/heartbeat
And according to NSX 6.3 API Guide
https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.3/nsx_63_api.pdf
Thanks Marcin ,
same error .. pasting new screenshot
1.Netadmin user
2. wmlab_svc user
Both "netadmin" and "wmlab_svc" are super_users. ..
Both users has the same "role" ?
Have you tried using different REST API client ? im using Postman and its working like a charm. Its a Google Chrome Extension.
Yes , Both users had same role.. seems NSX 6.3.2
Thanks a lot Marcin ,This actually worked . I reinstalled postman ( restated NSX manger before that as well) and was able to run the query .
Tarun Gupta