Skip to main content
Version: API v1

Domain registrieren/Transfer einleiten

POST/accounts/{accountIdentifier}/domains/
v1
POST
registerNewDomain

Diese Operation kann genutzt werden, um für den gegebenen Account eine neue Domain zu registrieren oder einen Virtual Host Eintrag zu erstellen. Falls die Domain bereits vergeben ist, müssen ein Auth-Code und unter Umständen ein Authentifizierungsverfahren mitangegeben werden, um einen Domain-Transfer einzuleiten.

Request

  • accountIdentifierstring
    required

    Name oder ID eines Accounts

Responses

application/json

Die erstellte Domain

  • Array[
  • *object
    • namestring
      required
    • fullnamestring
      required
    • registryStatusstring
    • tldstring
      required
  • ]

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"handles":{"owner":{"firstName":"string","lastName":"string","title":"string","salutation":"Herr","street":"string","houseNumber":"string","zip":"string","city":"string","company":"string","emailAddress":"email@mittwald.example","country":"string","fax":"string"},"admin":{"firstName":"string","lastName":"string","title":"string","salutation":"Herr","street":"string","houseNumber":"string","zip":"string","city":"string","company":"string","emailAddress":"email@mittwald.example","country":"string","fax":"string"}},"sld":"string","tld":"string","domainNameTransfer":{"authcode":"string","authInfoProcedure":123},"external":true,"target":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v1/accounts/string/domains