Domains
Renew a domain
Renew a domain you own for additional years (1-10). Payment is charged upfront. The new expiry date is returned in the response. When the domain's registrar refuses the renewal (renewed in the last 30 days, or a term it does not sell), the request fails with 400 RENEWAL_NOT_ELIGIBLE before any charge. The price is renewal_price from GET /api/domains/{domain} times years: send that total as max_price so a price change fails before any charge.
post/api/domains/{domain}/renew
Request
- Base URL: https://domani.run
- URL: https://domani.run/api/domains/{domain}/renew
- Auth: HTTP bearer
Path parameters
domainstring required
Example:mysite.com
Domain name you own
Request body
Example request
{
"max_price": 20
}Response
Domain renewed
Changes
No recorded changes to this operation across all 2 revisions of this API.