API ReferenceDomainDomain LifecycleDomains & DNSv1 (Legacy)Add the specified DNS Records to the specified Domain PATCH
Add the specified DNS Records to the specified Domain
View as MarkdownAppends DNS records to the domain's zone without removing existing records.
Full description
Appends DNS records to the domain's zone without removing existing records. Existing records with the same type and name are preserved. Returns 204 No Content.
Authorization
bearerAuth AuthorizationBearer <token>
Personal Access Token (PAT). Generate one from the developer dashboard. Pass as: Authorization: Bearer .
In: header
Path Parameters
domain*string
Domain whose DNS Records are to be augmented
Header Parameters
X-Shopper-Id?string
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 add to whatever currently exists
[index: integer]?
Response Body
curl -X PATCH "https://example.com/v1/domains/string/records" \ -H "Content-Type: application/json" \ -d '[ { "data": "string", "name": "string", "type": "A" } ]'Empty
Agent & Automation Notes
Scopes
domains.domain:read, domains.domain:create, domains.domain:delete, domains.domain:update, domains.contact:update, domains.dns:update, domains.transfer:executeRate limit60 req/min per credential
On failureGET operations are safe to retry. PUT/PATCH DNS are idempotent by shape. POST purchase is NOT idempotent — verify state before retrying.
Related
Last updated on
How is this guide?