domain_auth_codes
Creates, updates, deletes, gets or lists a domain_auth_codes resource.
Overview
| Name | domain_auth_codes |
| Type | Resource |
| Id | vercel.domains_registrar.domain_auth_codes |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
auth_code | string | (wire: authCode) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | domain | team_id | Get 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.
| Name | Datatype | Description |
|---|---|---|
domain | string | |
team_id | string | (wire: teamId) |
SELECT examples
- get
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 }}'
;