Update a zone record
Updates the zone record details.
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.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
Changed in 3 of the 52 revisions of this API.18117
- ○
the response property
databecame required for the status200response-property-became-required
- ○
the response property
data/contentbecame required for the status200response-property-became-required
- ○
the response property
data/created_atbecame required for the status200response-property-became-required
- ○
the response property
data/idbecame required for the status200response-property-became-required
- ○
the response property
data/namebecame required for the status200response-property-became-required
- ○
the response property
data/parent_idbecame required for the status200response-property-became-required
- ○
the response property
data/prioritybecame required for the status200response-property-became-required
- ○
the response property
data/regionsbecame required for the status200response-property-became-required
- ○
the response property
data/system_recordbecame required for the status200response-property-became-required
- ○
the response property
data/ttlbecame required for the status200response-property-became-required
- ○
the response property
data/typebecame required for the status200response-property-became-required
- ○
the response property
data/updated_atbecame required for the status200response-property-became-required
- ○
the response property
data/zone_idbecame required for the status200response-property-became-required
- ○
the response property
errorsbecame required for the status400response-property-became-required
- ○
the response property
messagebecame required for the status400response-property-became-required
- ○
the response property
messagebecame required for the status404response-property-became-required
- ○
- ○
added the new optional request property
integrated_zonesnew-optional-request-property
- ○
- ▲
the response property
data/parent_idbecame nullable for the status200response-property-became-nullable
- ▲
the response property
data/prioritybecame nullable for the status200response-property-became-nullable
- ▲
the response property
databecame optional for the status200response-property-became-optional
- ▲
the response property
data/contentbecame optional for the status200response-property-became-optional
- ▲
the response property
data/created_atbecame optional for the status200response-property-became-optional
- ▲
the response property
data/idbecame optional for the status200response-property-became-optional
- ▲
the response property
data/namebecame optional for the status200response-property-became-optional
- ▲
the response property
data/parent_idbecame optional for the status200response-property-became-optional
- ▲
the response property
data/prioritybecame optional for the status200response-property-became-optional
- ▲
the response property
data/regionsbecame optional for the status200response-property-became-optional
- ▲
the response property
data/system_recordbecame optional for the status200response-property-became-optional
- ▲
the response property
data/ttlbecame optional for the status200response-property-became-optional
- ▲
the response property
data/typebecame optional for the status200response-property-became-optional
- ▲
the response property
data/updated_atbecame optional for the status200response-property-became-optional
- ▲
the response property
data/zone_idbecame optional for the status200response-property-became-optional
- ▲
the response property
errorsbecame optional for the status400response-property-became-optional
- ▲
the response property
messagebecame optional for the status400response-property-became-optional
- ▲
the response property
messagebecame optional for the status404response-property-became-optional
- ●
removed the request property
integrated_zonesrequest-property-removed
This revision also has 25 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲