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
| Parameter | Type | Description |
|---|---|---|
| service_id | int | Service ID |
| zone_id | int | Zone ID |
| record_id | int | Record ID |
| name | string | Record name |
| ttl | int | Record ttl |
| priority | int | Priority of the record |
| type | string | Record type |
| content | string | Contents 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."
]
}