AddProjectDomainResponseBody
June 11, 2025 ยท View on GitHub
The domain was successfully added to the project
Example Usage
import { AddProjectDomainResponseBody } from "@vercel/sdk/models/addprojectdomainop.js";
let value: AddProjectDomainResponseBody = {
name: "<value>",
apexName: "<value>",
projectId: "<id>",
verified: true,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | :heavy_check_mark: | N/A |
apexName | string | :heavy_check_mark: | N/A |
projectId | string | :heavy_check_mark: | N/A |
redirect | string | :heavy_minus_sign: | N/A |
redirectStatusCode | number | :heavy_minus_sign: | N/A |
gitBranch | string | :heavy_minus_sign: | N/A |
customEnvironmentId | string | :heavy_minus_sign: | N/A |
updatedAt | number | :heavy_minus_sign: | N/A |
createdAt | number | :heavy_minus_sign: | N/A |
verified | boolean | :heavy_check_mark: | true if the domain is verified for use with the project. If false it will not be used as an alias on this project until the challenge in verification is completed. |
verification | models.AddProjectDomainVerification[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete POST /projects/:idOrName/domains/:domain/verify to verify the domain. Possible challenges: - If verification.type = TXT the verification.domain will be checked for a TXT record matching verification.value. |