Domains

Create or replace a zone record

Changed on

Creates a DNS record on a Crevio-managed zone, or replaces the existing record with the same type and name. Records Crevio itself manages are protected: set acknowledge_unowned to overwrite a record that was not created through the API.

put/zones/{id}/records

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The zone's ID.

Request body

object required
type, string required
name, string
content, string required
mode, 'replace' | 'append'

replace (default) swaps the record with the same type and name; append adds another, e.g. a second TXT or MX

ttl, integer
priority, integer
proxied, boolean
acknowledge_unowned, boolean

Response

Record

object required
id, string
type, string
name, string
content, string
proxied, boolean
locked, boolean
owned, boolean

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    1 more change in this revision