Skip to main content

Update DNS record

PATCH 

/dns_records/dns_record

Update a DNS record properties

Scopes

  • dns

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Body

    dns_record

    object

    required

    id string

    properties

    object

    required

    name string

    The name of the record

    type DNSRecordTypesEnum (string)

    Possible values: [A, AAAA, ALIAS, CAA, CNAME, IPS, MX, NS, PTR, SOA, SRV, SSHFP, TXT, VirtualMachine]

    ttl integer
    priority integer

    content

    object

    A

    object

    ip_address string

    AAAA

    object

    ip_address string

    ALIAS

    object

    hostname string

    CAA

    object

    flag string
    tag string
    value string

    CNAME

    object

    hostname string

    IPS

    object

    ip_addresses string

    MX

    object

    hostname string

    NS

    object

    hostname string

    PTR

    object

    hostname string
    SOA object

    SRV

    object

    weight string
    port string
    target string

    SSHFP

    object

    algorithm string
    fingerprint_type string
    fingerprint string

    TXT

    object

    content string

    VirtualMachine

    object

    virtual_machine string

Responses

Update a DNS record properties

Schema

    dns_record

    object

    required

    id string
    name stringnullable
    full_name string
    ttl integernullable
    type DNSRecordTypesEnum (string)

    Possible values: [A, AAAA, ALIAS, CAA, CNAME, IPS, MX, NS, PTR, SOA, SRV, SSHFP, TXT, VirtualMachine]

    priority integernullable
    content string

    content_attributes

    object

    A

    object

    nullable

    ip_address stringnullable

    AAAA

    object

    nullable

    ip_address stringnullable

    ALIAS

    object

    nullable

    hostname stringnullable

    CAA

    object

    nullable

    flag stringnullable
    tag stringnullable
    value stringnullable

    CNAME

    object

    nullable

    hostname stringnullable

    IPS

    object

    nullable

    ip_addresses stringnullable

    MX

    object

    nullable

    hostname stringnullable

    NS

    object

    nullable

    hostname stringnullable

    PTR

    object

    nullable

    hostname stringnullable
    SOA objectnullable

    SRV

    object

    nullable

    weight stringnullable
    port stringnullable
    target stringnullable

    SSHFP

    object

    nullable

    algorithm stringnullable
    fingerprint_type stringnullable
    fingerprint stringnullable

    TXT

    object

    nullable

    content stringnullable

    VirtualMachine

    object

    nullable

    virtual_machine stringnullable
Loading...