Logo
Openapi.it Public API Documentation

{{baseUrl}}/domain/:domain

PUT {{baseUrl}}/domain/:domain

This method allows you to update domain information like registrant, admin, tech or dns. Both the 'registrant' and the 'dns' must be updated alone and not in the presence of other parameters, not even together

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "data": [], "message": "Greeting OK. Login OK. Adding NS: ns1.altravia.com. Adding NS: ns2.altravia.com. Adding NS: ns3.altravia.com. Domain 'yingyang.it' is now up to date. Logout OK.", "success": true, "error": null }



Curl
curl -X PUT 'baseUrl/domain/:domain' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"registrant":"\u003cstring\u003e","admin":"\u003cstring\u003e","tech":["\u003cstring\u003e","\u003cstring\u003e"],"dns":["\u003cstring\u003e","\u003cstring\u003e"]}'

ENDPOINTS