LogoFreestyle
API Reference/DNS

Create DNS Record

POST/dns/v1/records

Request Body

application/jsonRequired
domainRequiredstring
recordRequiredobject
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",
      "ttl": "string",
      "priority": 0
    }
  }'

{
  "record": {
    "kind": "A",
    "name": "string",
    "value": "string",
    "ttl": "string",
    "priority": 0,
    "managed": true
  }
}