v13
OpenAPI 3.0.32026-07-31359869.4 MBdns
Create a DNS record
Creates a DNS record for a domain.
post/v2/domains/{domain}/records
Path parameters
domainstring required
The domain used to create the DNS record.
Example:example.com
The domain used to create the DNS record.
Query parameters
teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l
The Team identifier to perform the request on behalf of.
slugstring
Example:my-team-url-slug
The Team slug to perform the request on behalf of.
Request body
Example request
{
"name": "subdomain",
"ttl": 60,
"value": "192.0.2.42",
"comment": "used to verify ownership of domain"
}Response
Successful response showing the uid of the newly created DNS record.
Example response
{
"uid": "rec_V0fra8eEgQwEpFhYG2vTzC3K"
}