v1

latestSwagger 2.02026-07-136573327.3 KB
v1

Replace all DNS Records for the specified Domain

put/v1/domains/{domain}/records

Path parameters

domainstring required

Domain whose DNS Records are to be replaced

Headers

X-Shopper-Idstring

Shopper ID which owns the domain. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com

Request body

datastring required
namestring domain required
portinteger

Service port (SRV only)

priorityinteger

Record priority (MX and SRV only)

protocolstring

Service protocol (SRV only)

servicestring

Service type (SRV only)

ttlinteger
type'A' | 'AAAA' | 'CNAME' | 'MX' | 'NS' | 'SOA' | 'SRV' | 'TXT' required
weightinteger

Record weight (SRV only)

Response

Request was successful