Create a DNS zone record
Adds a DNS record to a Crevio-registered domain’s zone. By default (mode: replace) it replaces any existing records of the same type and name; mode: append adds alongside them. The apex/www routing records that keep the storefront online are protected and cannot be changed here. Replacing a record Crevio did not create requires acknowledge_unowned: true.
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Body
DNS record type, e.g. A, AAAA, CNAME, TXT, MX.
Record value (IP address, hostname, text, etc.).
Record name. Defaults to the domain apex when omitted.
Time to live in seconds. Defaults to 1 (automatic).
Priority, for record types that use it (e.g. MX).
Whether to proxy the record through the CDN. Defaults to false.
replace (default) swaps existing records of the same type and name; append adds alongside them.
replace, append Required to replace a record that was not created by Crevio.
Response
The created DNS record
A DNS record in the live zone of a Crevio-registered domain.
dns_record DNS record type, e.g. A, AAAA, CNAME, TXT, MX.
Record value (IP address, hostname, text, etc.).
Whether Crevio created this record (crevio-managed) or it is otherwise unowned.
True for the apex/www routing records that keep the storefront online; these cannot be changed via the zone-records API.

