Skip to main content

Edit DNS Record

Edits the selected DNS zone record

HTTP Request

PUT /service/@service_id/dns/@zone_id/records/@record_id

Auth: true

QUERY PARAMETERS

ParameterTypeDescription
service_idintService ID
zone_idintZone ID
record_idintRecord ID
namestringRecord name
ttlintRecord ttl
priorityintPriority of the record
typestringRecord type
contentstringContents of the record

Example Response


{
"record": {
"id": "55",
"type": "A",
"ttl": "3600",
"name": "test",
"priority": 0,
"content": "192.168.1.2"
},
"info": [
"The record was updated successfully."
]
}