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.
Solved
DELETE cluster/nfs_whitelist/{name:.+}
Best answer by sandeepmp
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"]
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.