Replace all DNS Records for the specified Domain
View as MarkdownReplaces the entire DNS record set for the domain.
Full description
Replaces the entire DNS record set for the domain. All existing records are removed and replaced with the submitted set. Returns 204 No Content.
Authorization
bearerAuth Personal Access Token (PAT). Generate one from the developer dashboard. Pass as: Authorization: Bearer .
In: header
Path Parameters
Domain whose DNS Records are to be replaced
Header Parameters
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.
DNS Records to replace whatever currently exists
Response Body
curl -X PUT "https://example.com/v1/domains/string/records" \ -H "Content-Type: application/json" \ -d '[ { "data": "string", "name": "string", "type": "A" } ]'Last updated on
How is this guide?