Skip to main content

tlds

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

Overview

Nametlds
TypeResource
Idvercel.domains_registrar.tlds

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
supported_language_codesobjectThe language codes that are supported for the TLD. The key is the language code, and the value is the name of the language. (wire: supportedLanguageCodes)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselecttldteam_idGet the metadata for a specific TLD.
listselectteam_idGet a list of TLDs supported by Vercel

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
tldstring
team_idstring (wire: teamId)

SELECT examples

Get the metadata for a specific TLD.

SELECT
supported_language_codes
FROM vercel.domains_registrar.tlds
WHERE tld = '{{ tld }}' -- required
AND team_id = '{{ team_id }}'
;