Skip to main content

Vercel/domains

@swamp/vercel/domainsv2026.08.28.1· 14d agoMODELS
01README

Vercel domains infrastructure models

02Release Notes
  • Updated: domains
03Models1
@swamp/vercel/domains/domainsv2026.08.28.1domains.ts

Global Arguments

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
op?string
renew?booleanThis field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/auto-renew instead.
customNameservers?arrayThis field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/nameservers instead.
zone?booleanSpecifies whether this is a DNS zone that intends to use Vercel's nameservers.
echMode?enumEncrypted Client Hello enrollment. 'auto' leaves it to Vercel, 'disabled' never enrolls and opts out of automatic enrollment.
destination?stringUser or team to move domain to
method?stringThe domain operation to perform. It can be either `add` or `move-in`.
token?stringVercel API token; overrides the VERCEL_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
fn create()
Create a Domains
fn get(id: string)
Get a Domains
ArgumentTypeDescription
idstringThe ID of the Domains
fn lookup()
Look up an existing Domains by matching global argument values and import it into state
fn adopt(id: string)
Import an existing Domains by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Domains to import
fn update(identifier?: string)
Update Domains attributes
ArgumentTypeDescription
identifier?stringTarget a specific Domains by name (e.g. one discovered by list)
fn delete(id: string)
Delete the Domains
ArgumentTypeDescription
idstringThe ID of the Domains
fn sync(identifier?: string)
Sync Domains state from Vercel
ArgumentTypeDescription
identifier?stringTarget a specific Domains by name (e.g. one discovered by list)

Resources

state(infinite)— Domains resource state
04Previous Versions2
2026.08.26.1
  • Updated: domains
2026.08.03.2
  • Updated: domains
05Stats
A
100 / 100
Downloads
1
Archive size
11.7 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels