Update DNS record
ns1_update_recordDestructiveIdempotent
WRITE: changes ONE existing DNS record and CHANGES LIVE DNS for that name immediately. Giving answers REPLACES all current answers of the record (send the complete new set); giving only ttl changes just the TTL. Plain records only (A, AAAA, ALIAS, CAA, CNAME, MX, PTR, SRV, TXT): when answers are given, a record that uses traffic-steering filters, links or per-answer metadata is refused (edit it in the NS1 portal). Fails if the record does not exist. POST /v1/zones/{zone}/{domain}/{type}.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | New TTL in seconds. | |
| type | Yes | Record type of the existing record. | |
| zone | Yes | Zone name, e.g. example.com. | |
| domain | Yes | Full record name inside the zone, e.g. www.example.com (or the zone name itself for the apex). | |
| answers | No | The COMPLETE new answer set, each answer a list of rdata fields (as for ns1_create_record). |