Rest API Create Protection Domains | Nutanix Community
Skip to main content
I am trying to create a Protection Domain, but can't figure out how to supply the name of the Protection Domain.



I have to use a string and a JSON object as body parameter, but it keeps throwing errors.



JSON objects I have tried:



{"name":"MyTestName"}

{"body":"MyTestName"}

{"input":"MyTestName"}



I used Chrome Developer Tools to monitor the post request from the Prism GUI and the correct JSON object field name is "value" --> {"value":"MyTestName"}