AddPrivateZoneRecord
Last updated
Last updated
POST /api/v2/zdns HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: AddPrivateZoneRecord
<Common Request Params>
Request:
{
"zoneId": "<zoneId>",
"type": "A",
"recordName": "www",
"value": "10.0.0.1",
"weight": 10,
"ttl": 10,
"remark": "Test",
"status": "Enabled"
}
Response:
{
"requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
"response": {
"requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
"recordId": "<recordId>"
}
}