Examples

PUT /api/v1/domains/1/records/10
auth_token=SSpFBqRJe99KEGG6Hdqp&record[content]=mysmtp.es&record[type]=MX&record[ttl]=100000
204
PUT /api/v1/domains/1/records/10
auth_token=jMEs6wD7qhsxqbCoR1zr&record[content]=mysmtp.es&record[type]=MXBAD&record[ttl]=10
422
{
  "errors": {
    "type": [
      "is not included in the list"
    ]
  }
}

Supported Formats

json

Errors

401 Unauthorized
422 Bad parameter
404 Not found
500 Server crashed for some reason

Params

Param name Description
auth_token
required

API authentication key


Value: Must be String
record
required

Value: Must be a Hash
record[name]
required

record name


Value: Must be String
record[ttl]
required

Time To Live of the record


Value: Must be Fixnum
record[type]
required

record type: A, MX, SOA, NS, PTR, etc…


Value: Must be String
record[content]
required

record content, validation depends on the record type


Value: Must be String
Free DNS // dynamic IP DNS service // 24/7 Service // Plans with extra features //
hiya!