Solved

DELETE cluster/nfs_whitelist/{name:.+}

  • 21 January 2019
  • 2 replies
  • 1653 views

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.
icon

Best answer by sandeepmp 21 January 2019, 11:35

View original

This topic has been closed for comments

2 replies

Userlevel 4
Badge +19
@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).