domains_update_dns_zone_records
Apply a changeset to add, set, delete, or clear records in a DNS zone. Modify resource records without creating new zones automatically.
Instructions
Apply a changeset to the records of a DNS zone.
Records have no tags, so nothing created here carries the managed marker.
Each entry in changes is a Scaleway record-change object with exactly one
of the keys add, set, delete or clear. For example::
[{"add": {"records": [
{"name": "www", "type": "A", "data": "1.2.3.4", "ttl": 3600}
]}}]Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | List of record-change objects (see above). | |
| dns_zone | Yes | The DNS zone to modify, e.g. ``example.com``. | |
| return_all_records | No | If True, the response includes every record in the zone rather than only those affected. | |
| disallow_new_zone_creation | No | If True (default), fail rather than implicitly create the zone when it does not exist yet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||