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
Responses
Usage examples
- cURL
$ 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