logo
OpenapiDdns

Create a Dynamic DNS key

API Docs with browser client
POST
/dns/ddns/keys

Create a Dynamic DNS key for a domain. Requires domain ownership. The secret is returned ONCE in this response and is never recoverable afterwards — store it immediately. Scope the key to one hostname, or set zoneWide to allow any hostname in the domain.

Authorization

headerx-api-key<token>

Request Body

application/json
  1. body
normalizedDomainName*string
Match^[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?(\.[a-z0-9_]([a-z0-9-]{0,61}[a-z0-9_])?)*$
Lengthlength <= 255
name*string
Length1 <= length <= 100
hostname?string
Lengthlength <= 253
zoneWide?boolean
Defaultfalse

Response Body

OK

Example Request
curl -X POST 'https://example.com/v4/dns/ddns/keys' \  -H 'Content-Type: application/json' \  -d '{  "normalizedDomainName": "string",  "name": "string"}'
Example Response
Empty