VMware NSX

 View Only
  • 1.  NSX API super_user accesss forbidden

    Posted Jun 14, 2019 02:06 PM

    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



  • 2.  RE: NSX API super_user accesss forbidden

    Posted Jun 14, 2019 02:14 PM

    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



  • 3.  RE: NSX API super_user accesss forbidden

    Posted Jun 14, 2019 03:07 PM

    Thanks Marcin ,

             same error .. pasting new screenshot

    1.Netadmin user

    2. wmlab_svc user

    Both "netadmin"  and "wmlab_svc" are super_users.  ..  



  • 4.  RE: NSX API super_user accesss forbidden
    Best Answer

    Posted Jun 14, 2019 06:57 PM

    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.



  • 5.  RE: NSX API super_user accesss forbidden

    Posted Jun 17, 2019 03:04 PM

    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