DELETE cluster/nfs_whitelist/{name:.+} | Nutanix Community
Skip to main content
I have been trying to remove an existing nfs whitelisted machine through Rest API explorer.



API: cluster/nfs_whitelist/{name:.+}



I have tried giving the path parameter with different combination of IP/sunbnet mask but all were failed with

error message: Specified NFS Whitelist does not exist. Here, machine IP is whitelisted as I can see it in Filesystem whitelists but

I am not able to figure out the exact representation of path parameter. If anyone knows, then please tell me.

Thanks in advance.
@Pawan_sahu



You can try below.




  1. Request URL: https://Server_ip:9440/PrismGateway/services/rest/v1/cluster/nfs_whitelist/remove_list
  2. Request Method: POST
  3. Body : ["Ip/subnet"]

Hi,

Thanks for help. This is working for me. But it gives Http status 200 for any IP(whether it is whitelisted or not).