Domains

Add a DNS record

post/domains/{domain}/dns

Request

  • Base URL: https://api.imprezahost.com/v1
  • URL: https://api.imprezahost.com/v1/domains/{domain}/dns
  • Auth: API key in header X-API-Key and API key in header X-API-Secret

Path parameters

domainstring required

Request body

type'A' | 'AAAA' | 'CNAME' | 'MX' | 'TXT' | 'NS' | 'SRV' required
hoststring required
valuestring required
ttlinteger
priorityinteger

Required for MX records

Example request

{
  "host": "@",
  "value": "185.100.86.42"
}

Response

Record created

Changes

No recorded changes to this operation across all 1 revision of this API.