API ReferenceDns
Create DNS Record
Request Body
application/json
domain*string
record*
Response Body
application/json
application/json
application/json
curl -X POST "https://api.freestyle.sh/dns/v1/records" \ -H "Content-Type: application/json" \ -d '{ "domain": "string", "record": { "kind": "A", "name": "string", "value": "string" } }'{
"record": {
"kind": "A",
"name": "string",
"value": "string",
"ttl": "string",
"priority": 0,
"managed": true
}
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}