status
Creates, updates, deletes, gets or lists a status resource.
Overview
| Name | status |
| Type | Resource |
| Id | vercel.domains.status |
Fields
The following fields are returned by SELECT queries:
- check_domain_status
Successful response checking if a Domain's name is available.
| Name | Datatype | Description |
|---|---|---|
available | boolean |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
check_domain_status | select | name, teamId | Check if a domain name is available for purchase. |
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 |
|---|---|---|
name | string | The name of the domain for which we would like to check the status. |
teamId | string | The Team identifier or slug to perform the request on behalf of. |
SELECT examples
- check_domain_status
Check if a domain name is available for purchase.
SELECT
available
FROM vercel.domains.status
WHERE name = '{{ name }}' -- required
AND teamId = '{{ teamId }}' -- required
;