How to mount NGT through REST api | Nutanix Community
Skip to main content

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

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


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


Reply