UpdateProjectRequestBody

July 24, 2026 ยท View on GitHub

Example Usage

import { UpdateProjectRequestBody } from "@vercel/sdk/models/updateprojectbranchmatcher.js";

let value: UpdateProjectRequestBody = {
  name: "a-project-name",
};

Fields

FieldTypeRequiredDescriptionExample
autoExposeSystemEnvsboolean:heavy_minus_sign:N/A
autoAssignCustomDomainsboolean:heavy_minus_sign:N/A
autoAssignCustomDomainsUpdatedBystring:heavy_minus_sign:N/A
buildCommandstring:heavy_minus_sign:The build command for this project. When null is used this value will be automatically detected
commandForIgnoringBuildStepstring:heavy_minus_sign:N/A
customerSupportCodeVisibilityboolean:heavy_minus_sign:Specifies whether customer support can see git source for a deployment
devCommandstring:heavy_minus_sign:The dev command for this project. When null is used this value will be automatically detected
directoryListingboolean:heavy_minus_sign:N/A
frameworkmodels.UpdateProjectFramework:heavy_minus_sign:The framework that is being used for this project. When null is used no framework is selected
gitForkProtectionboolean:heavy_minus_sign:Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed
gitLFSboolean:heavy_minus_sign:Specifies whether Git LFS is enabled for this project.
protectedSourcemapsboolean:heavy_minus_sign:Specifies whether sourcemaps are protected and require authentication to access.
installCommandstring:heavy_minus_sign:The install command for this project. When null is used this value will be automatically detected
namestring:heavy_minus_sign:The desired name for the projecta-project-name
nodeVersionmodels.UpdateProjectNodeVersion:heavy_minus_sign:N/A
outputDirectorystring:heavy_minus_sign:The output directory of the project. When null is used this value will be automatically detected
previewDeploymentsDisabledboolean:heavy_minus_sign:Specifies whether preview deployments are disabled for this project.
previewDeploymentSuffixstring:heavy_minus_sign:Custom domain suffix for preview deployments. Takes precedence over team-level suffix. Must be a domain owned by the team.
resourceConfigmodels.UpdateProjectResourceConfig:heavy_minus_sign:Specifies resource override configuration for the project
publicSourceboolean:heavy_minus_sign:: warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated. Accepted for backwards compatibility but ignored.
rootDirectorystring:heavy_minus_sign:The name of a directory or relative path to the source code of your project. When null is used it will default to the project root
serverlessFunctionRegionstring:heavy_minus_sign:The region to deploy Serverless Functions in this project
serverlessFunctionZeroConfigFailoverboolean:heavy_minus_sign:Specifies whether Zero Config Failover is enabled for this project.
skewProtectionBoundaryAtnumber:heavy_minus_sign:Deployments created before this absolute datetime have Skew Protection disabled. Value is in milliseconds since epoch to match "createdAt" fields.
skewProtectionMaxAgenumber:heavy_minus_sign:Deployments created before this rolling window have Skew Protection disabled. Value is in seconds to match "revalidate" fields.
skewProtectionAllowedDomainsstring[]:heavy_minus_sign:Cross-site domains allowed to fetch skew-protected assets (hostnames, optionally with leading wildcard like *.example.com).
skipGitConnectDuringLinkboolean:heavy_minus_sign:: warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Opts-out of the message prompting a CLI user to connect a Git repository in vercel link.
sourceFilesOutsideRootDirectoryboolean:heavy_minus_sign:Indicates if there are source files outside of the root directory
enablePreviewFeedbackboolean:heavy_minus_sign:Opt-in to preview toolbar on the project level
enableProductionFeedbackboolean:heavy_minus_sign:Opt-in to production toolbar on the project level
enableAffectedProjectsDeploymentsboolean:heavy_minus_sign:Opt-in to skip deployments when there are no changes to the root directory and its dependencies
enableExternalRewriteCachingboolean:heavy_minus_sign:Specifies whether external rewrite caching is enabled for this project.
staticIpsmodels.UpdateProjectStaticIps:heavy_minus_sign:Manage Static IPs for this project
tracingmodels.Tracing:heavy_minus_sign:Tracing configuration for this project
oidcTokenConfigmodels.UpdateProjectOidcTokenConfig:heavy_minus_sign:OpenID Connect JSON Web Token generation configuration.
passwordProtectionmodels.UpdateProjectPasswordProtection:heavy_minus_sign:Allows to protect project deployments with a password
passportmodels.UpdateProjectPassport:heavy_minus_sign:Passport configuration for the project.
ssoProtectionmodels.UpdateProjectSsoProtection:heavy_minus_sign:Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team
trustedIpsmodels.UpdateProjectTrustedIps:heavy_minus_sign:Restricts access to deployments based on the incoming request IP address
trustedSourcesmodels.TrustedSources:heavy_minus_sign:Deployment Protection Trusted Sources
deploymentPolicymodels.UpdateProjectDeploymentPolicy:heavy_minus_sign:N/A
optionsAllowlistmodels.UpdateProjectOptionsAllowlist:heavy_minus_sign:Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests
connectConfigurationsmodels.ConnectConfigurations[]:heavy_minus_sign:The list of connections from project environment to Secure Compute network
dismissedToastsmodels.UpdateProjectDismissedToasts[]:heavy_minus_sign:An array of objects representing a Dismissed Toast in regards to a Project. Objects are either merged with existing toasts (on key match), or added to the dimissedToasts array.`