Manage DNS
View as MarkdownAuthorization
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 augmented
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 add to whatever currently exists
Response Body
curl -X PATCH "https://example.com/v1/domains/string/records" \ -H "Content-Type: application/json" \ -d '[ { "data": "string", "name": "string", "type": "A" } ]'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" } ]'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 retrieved
DNS Record Type for which DNS Records are to be retrieved
Value in
- "A"
- "AAAA"
- "CAA"
- "CNAME"
- "MX"
- "NS"
- "SOA"
- "SRV"
- "TXT"
DNS Record Name for which DNS Records are to be retrieved
Query Parameters
Number of results to skip for pagination
Maximum number of items to return
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.
Response Body
curl -X GET "https://example.com/v1/domains/string/records/A/string"[ { "data": "string", "name": "string", "port": 1, "priority": 0, "protocol": "string", "service": "string", "ttl": 0, "type": "A", "weight": 0 }]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 deleted
DNS Record Type for which DNS Records are to be deleted
Value in
- "A"
- "AAAA"
- "CAA"
- "CNAME"
- "MX"
- "SRV"
- "TXT"
DNS Record Name for which DNS Records are to be deleted
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.
Response Body
curl -X DELETE "https://example.com/v1/domains/string/records/A/string"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
DNS Record Type for which DNS Records are to be replaced
Value in
- "A"
- "AAAA"
- "CAA"
- "CNAME"
- "MX"
- "NS"
- "SOA"
- "SRV"
- "TXT"
DNS Record Name for which 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/A/string" \ -H "Content-Type: application/json" \ -d '[ { "data": "string" } ]'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
DNS Record Type for which DNS Records are to be replaced
Value in
- "A"
- "AAAA"
- "CAA"
- "CNAME"
- "MX"
- "NS"
- "SOA"
- "SRV"
- "TXT"
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/A" \ -H "Content-Type: application/json" \ -d '[ { "data": "string", "name": "string" } ]'Agent & Automation Notes
domains.domain:read, domains.domain:create, domains.domain:delete, domains.domain:update, domains.contact:update, domains.dns:update, domains.transfer:executeRelated
Last updated on
How is this guide?