Skip to main content

domains

Creates, updates, deletes, gets or lists a domains resource.

Overview

Namedomains
TypeResource
Idvercel.domains_registrar.domains

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
update_auto_renewexecdomain, autoRenewteamIdUpdate the auto-renew setting for a domain
update_nameserversexecdomain, nameserversteamIdUpdate the nameservers for a domain. Pass an empty array to use Vercel's default nameservers.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domainstring
teamIdstring

Lifecycle Methods

EXEC variables use wire (API) names.

Update the auto-renew setting for a domain

EXEC vercel.domains_registrar.domains.update_auto_renew
@domain='{{ domain }}' --required,
@teamId='{{ teamId }}'
@@json=
'{
"autoRenew": {{ autoRenew }}
}'
;