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.
Page 1 / 1
You can try below.
- Request URL: https://Server_ip:9440/PrismGateway/services/rest/v1/cluster/nfs_whitelist/remove_list
- Request Method: POST
- 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).
Thanks for help. This is working for me. But it gives Http status 200 for any IP(whether it is whitelisted or not).
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.