Renew a domain
POST
/__remote/api.vercel.com/v1/registrar/domains/{domain}/renewRenew a domain
Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>",});
async function run() { const result = await vercel.domainsRegistrar.renewDomain({ domain: "scaly-daughter.biz", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", requestBody: { years: 1981.72, expectedPrice: 7096.16, }, });
console.log(result);}
run();Response
{ "orderId": "example_id", "_links": "value"}Errors
{ "status": "400", "code": "bad_request", "message": "string"}AuthorizationbearerToken
Default authentication mechanism
400There was something wrong with the request
404The domain was not found in our system.
429TooManyRequests