record_update

Update a record from a zone

Inputs Description Type Regular expression Mandatory
API login Your api login String (min 3, max 10) Yes
API password Your api Password String (min 5, max 15) Yes
zoneName The registered domain name you want to update the record for String (min 5, max 255) Yes
host New record host String (min 1, max 200) Yes
type New record type A, CNAME, MX, TXT, AAAA, NS, NAPTR, SRV Yes
weight New record weight int No
data New record data String (max 4096) Yes

 

Outputs Description Possible values
The standard result code and message Please refer to the chapter ‘Tags description’

 

Command

<api>
[…]
<command>
<record_update>
<zoneName>mydomain.extension</zoneName>
<id>…</id>
<type>…</type>
<host>…</host>
<data>…</data>
<weight>…</weight>
</record_update>
</command>
</api>

Response

<?xml version="1.0" encoding="utf-8"?>
<api>
<response>
<trID>…</trID>
<result code="…">
<msg>…</msg>
</result>
</response>
</api>