Create DNS domain

POST /dns-domain
application/json

Body Required

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • id string(uuid)

      DNS domain ID

    • created-at string(date-time)

      DNS domain creation date

    • DNS domain unicode name

      Minimum length is 1, maximum length is 255.

POST /dns-domain
curl \
 -X POST https://api-ch-gva-2.exoscale.com/v2/dns-domain \
 -H "Content-Type: application/json" \
 -d '{"unicode-name":"string"}'
Request examples
{
  "unicode-name": "string"
}
Response examples (200)
{
  "id": "string",
  "created-at": "2024-05-04T09:42:00+00:00",
  "unicode-name": "string"
}