Update a zone record
Changed onUpdates the zone record details.
Request
- Base URLhttps://api.dnsimple.com/v2
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The account id
The zone name
The zone record id
Request body
Example request
{
"content": "mxb.example.com",
"ttl": 3600,
"priority": 20,
"regions": [
"global"
]
}Response
Successfully updated zone record.
Example response
{
"data": {
"id": 1,
"zone_id": "example.com",
"parent_id": null,
"name": "",
"content": "ns1.dnsimple-edge.com admin.dnsimple.com 1458642070 86400 7200 604800 300",
"ttl": 3600,
"priority": null,
"type": "SOA",
"regions": [
"global"
],
"system_record": true,
"created_at": "2016-03-22T10:20:53Z",
"updated_at": "2016-10-05T09:26:38Z"
}
}Changes
- info
response property
data/parent_iddeprecated
- info
- info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- info