PATCH /v1/domains/records/{recordId}

Updates an existing DNS record for a domain name.

Servers

Path parameters

Name Type Required Description
recordId String Yes

The id of the DNS record

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
teamId String No

The Team identifier to perform the request on behalf of.

slug String No

The Team slug to perform the request on behalf of.

Request body fields

Name Type Required Description
ttl Integer No

The Time to live (TTL) value of the DNS record

https Object No
https.priority Integer Yes
https.params String No
https.target String Yes
comment String No

A comment to add context on what this DNS record is for

name String No

The name of the DNS record

mxPriority Integer No

The MX priority value of the DNS record

type String No

The type of the DNS record

Possible values:

  • "TXT"
  • "A"
  • "ALIAS"
  • "CNAME"
  • "MX"
  • "AAAA"
  • "SRV"
  • "NS"
  • "HTTPS"
  • "CAA"
value String No

The value of the DNS record

srv Object No
srv.priority Integer Yes
srv.port Integer Yes
srv.target String Yes
srv.weight Integer Yes

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.