Skip to main content
PATCH
/
v1
/
registrar
/
domains
/
{domain}
/
auto-renew
updateDomainAutoRenew
import { Vercel } from "@vercel/sdk";

const vercel = new Vercel({
  bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  await vercel.domainsRegistrar.updateDomainAutoRenew({
    domain: "worthwhile-dwell.net",
    requestBody: {
      autoRenew: true,
    },
  });


}

run();
This response does not have an example.

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

domain
string
required

Body

application/json
autoRenew
boolean
required

Response

Success

I