Skip to main content
Question

REST API v4: Get VMS API on PE failing with 404

  • July 16, 2026
  • 2 replies
  • 59 views

When I make an API on Prism Central, I get the appropriate result. Perhaps, when I make same API call on PE, by just changing IP to PE, response is 404 not found.

e,g,:
 

root@ahv:~# curl -k -u admin:'****'   -H "Accept: application/json"   "https://<PE>:9440/api/vmm/v4.2/ahv/config/vms/{UUID}"

{

    "message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."

}

 

PC version and PE version: 7.5.1

Any pointers, what we might have been missing?

2 replies

bbbburns
Nutanix Employee
Forum|alt.badge.img+14
  • Nutanix Employee
  • July 20, 2026

Varun,

 

The v4 APIs are intended for use with Prism Central, not to make calls against the Prism Element server.

You can find more information on the API version page here. 

https://www.nutanix.dev/api-versions/


Allan Solomon Mejia
Forum|alt.badge.img

Hi ​@varun.patil,

A 404 usually means the endpoint isn't available on the target you're calling. If you're using the v4 Get VMs API, make sure you're sending the request to Prism Central (not Prism Element), and verify that your AOS/Prism Central version supports the v4 API.

Could you also share your AOS version, whether you're using PE or PC, and the exact API endpoint (with sensitive details removed)? That will help narrow down the cause.