Skip to main content
Question

How to mount NGT through REST api

  • Jul 20, 2022 2:25 PM UTC
  • 2 replies
  • 894 views

Hello,

I’m trying to mount NGT to a VM through the REST API. However it does not seem to work.

AOS version: 5.20.3
PC version: pc.2022.4.0.1

I tried these two requests:

https://IP_ADDRESS:9440/PrismGateway/services/rest/v1/vms/72a3b676-906d-42b1-ad1e-ac8d63cf529b/guest_tools/mount

https://IP_ADDRESS:9440/api/nutanix/v3/vms/72a3b676-906d-42b1-ad1e-ac8d63cf529b/guest_tools/mount

However none of them seem to work. Do you have an idea why ?

Thanks

This topic has been closed for replies.

2 replies

  • Author
  • Voyager
  • Jul 26, 2022 7:13 AM UTC

Could you please tell me which version of PC and AOS you are using and wether you are targeting PC or PE through the IP Address ?

Thank you for your help


  • Voyager
  • Jul 25, 2022 11:13 AM UTC

This is what I’m using to mount the tools for my version. Hope this helps.  

https://IP_Address:9440/api/nutanix/v1/vms/@@{vm_uuid}@@/guest_tools/mount