Create a DNS record
Create a new DNS record in the given managed domain. The record is created at the DNS provider and returned.
The type field determines which additional fields are permitted; sending a field that is not allowed for the chosen type is rejected:
A,AAAA,CNAME- allowmonitorType,weight.CAA- allowflags,tag.MX,HTTPS,SVCB- allowpriority.SRV- allowpriority,weight,port.- Other types (
TXT,NS,PTR,Redirect,Flatten,PullZone,Script) accept onlyname,value,ttlandcomment.
name and value are required. ttl, when supplied, must be between 15 and 86400 (defaults to 3600). priority, weight and port accept 0-65535, and flags accepts 0-255.
Authorizations
Long-lived API token created via POST /api/api-tokens (returned once in plaintext). A token created with readOnly may only perform safe requests (GET, HEAD, OPTIONS); write requests are rejected on every endpoint.
JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer
Parameters
Path Parameters
Organization identifier
dns-record identifier
Request Body
Responses
dns-record resource created
