Creates and registers a new domain record. The requester will receive an email containing the verification code that should be added to the domain's DNS TXT record. After doing so, the requester should call the Verify Domain API to finish the domain registration to Zesty.
Permissions
This endpoint ONLY allows users with Owner or Admin roles. This includes user-defined roles with owner or admin level permission. If user does not have any of these roles, the API will return a 403 Forbidden Action response.
Important: The verification code have to be used before the expiration date. Failure to do so requires the requester to delete the domain and restart the process by calling this API again. A new verification code will be sent to the requester's email. This is because the domain was already created but is in unverified status.
Tip: In case the requester lost the verification and/or need to check its expiry date, the requester can call the Get Domain API and the response will contain both the current code and the expiry date along with other domain information.
Body: raw JSON
| name | description |
|---|---|
| domain | [string] Required. The domain name to be created and registered. |
| branch | [string] Required. Accepts either dev or live. |
Reach out to the [email protected] for further assistance.
