Apply API

Gname API is available for domain drop catch, account management, domain query, registration, renewal, deletion, using for apps and servers etc. You are able to easily set domain servers, choose renewal and create folder.

Update Domain Contact

Users update domain contact template

Request URL
/api/domain/contact
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domain
template ID mbid Int Yes template ID
Request Demo
{
	"url": "http://api.gname.net/api/domain/contact",
	"do": "POST",
	"data": {
		"appid": "testappid",
		"gntime": 1618998459,
		"mbid": "123456",
		"ym": "gname.com",
		"gntoken": "6D11250BD432881710D992D4DD147517"
	}
}
Response Data
Field Parameter Type Description
return code code Int 1:return successfully -1:return failed
return description msg String description of the return request operation
return data data String return the requested operation result data
domain ym String domains which need to modify the template
Response Demo
{
    "code": 1,
    "msg": "modify successfully,it has taken effect",
    "data": "",
    "ym": "gname.net"
}