Register Domain
Register a domain and pay for it from the account balance.
The domain is registered with WHOIS privacy and a registrar transfer
lock, pointed at the RDP.sh nameservers (ns1.rdp.sh, ns2.rdp.rs),
and given a DNS zone with default @ and www A records. Pass
nameservers to point it elsewhere straight away, or call
PUT /domains/{domain}/nameservers later.
Pricing comes from the RDP.sh price list rather than the registrar:
registration_price * years, plus 19% VAT unless the account is VAT
exempt. Call GET /domains/search first for the exact amount.
Authorizations
Body
Domain to register, as one label plus a top-level extension
-- example.com. Subdomains and second-level extensions
such as .co.uk are not accepted. The extension must be
active in the RDP.sh price list, which
GET /domains/pricing returns.
3 - 253^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?\.[a-zA-Z]{2,}$"example.com"
Registration term in years.
1 <= x <= 10Renew the domain automatically. Auto-renewals are charged to the account balance in the week before expiry.
Point the domain at your own nameservers instead of the
RDP.sh ones. Omit to keep the RDP.sh nameservers and the
managed DNS zone. If the switch fails the domain is still
registered and the response carries a warning.
2 - 6 elementsResponse
The domain was registered and the account balance was charged. In
rare cases the registration lands but the managed DNS zone does
not; dns_records_count is 0 when that happens and support is
alerted automatically.
true
"Domain registered"
ID of the balance invoice created for this registration.
8231
Gross amount deducted from the account balance, VAT included.
11.9
Registration term that was purchased.
1
Domain object.
Present only when the registration succeeded but applying the requested nameservers did not. The domain is registered either way.