UpdateProjectCustomEnvironments
August 10, 2026 ยท View on GitHub
Internal representation of a custom environment with all required properties
Example Usage
import { UpdateProjectCustomEnvironments } from "@vercel/sdk/models/updateprojectprojectsresponse200applicationjsonresponsebodysecurityaction.js";
let value: UpdateProjectCustomEnvironments = {
id: "<id>",
slug: "<value>",
type: "preview",
createdAt: 3391.33,
updatedAt: 5820.92,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | :heavy_check_mark: | Unique identifier for the custom environment (format: env_*) |
slug | string | :heavy_check_mark: | URL-friendly name of the environment |
type | models.UpdateProjectProjectsResponseType | :heavy_check_mark: | The type of environment (production, preview, or development) |
description | string | :heavy_minus_sign: | Optional description of the environment's purpose |
branchMatcher | models.UpdateProjectBranchMatcher | :heavy_minus_sign: | Configuration for matching git branches to this environment |
domains | models.UpdateProjectDomains[] | :heavy_minus_sign: | List of domains associated with this environment |
currentDeploymentAliases | string[] | :heavy_minus_sign: | List of aliases for the current deployment |
createdAt | number | :heavy_check_mark: | Timestamp when the environment was created |
updatedAt | number | :heavy_check_mark: | Timestamp when the environment was last updated |