How to add DNS NAME via API?

How to add DNS NAME via API?

Hi,
I'm adding Resource via API, it was created successfully, but DNS NAME is not updated. 
What am I doing wrong?

curl -X POST -k -H "AUTHTOKEN:1XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX98" -H "content-Type: text/json" https://10.10.10.10:443/restapi/json/v1/resources --data-urlencode "INPUT_DATA={\"operation\":{\"Details\":{\"RESOURCENAME\":\"LINIXAPITEST\",\"DNS NAME\":\"10.10.10.1\",\"ACCOUNTNAME\":\"test-acct\",\"RESOURCETYPE\":\"Linux\",\"RESOURCEDESCRIPTION\":\"Test VM\",\"PASSWORD\" :\"TestPassword\",\"RESOURCEPASSWORDPOLICY\":\"Strong\",\"ACCOUNTPASSWORDPOLICY\":\"Strong\"}}}")

{"operation":{"result":{"message":"Resource LINIXAPITEST has been added successfully","status":"Success"},"Details":{"RESOURCEID":"318"},"name":"CREATE RESOURCE"}}

                New to ADSelfService Plus?