Skip to main content

domain_auth_codes

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

Overview

Namedomain_auth_codes
TypeResource
Idvercel.domains_registrar.domain_auth_codes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auth_codestring (wire: authCode)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomainteam_idGet the auth code for a domain. This is required to transfer a domain from Vercel to another registrar.

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

SELECT examples

Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar.

SELECT
auth_code
FROM vercel.domains_registrar.domain_auth_codes
WHERE domain = '{{ domain }}' -- required
AND team_id = '{{ team_id }}'
;