v14
latestOpenAPI 3.0.32026-08-04377889.4 MBUpdate an existing project
Update the fields of a project using either its name or id.
Path parameters
The unique project identifier or the project name
The unique project identifier or the project name
Query parameters
The Team identifier to perform the request on behalf of.
The Team slug to perform the request on behalf of.
Request body
The build command for this project. When null is used this value will be automatically detected
Specifies whether customer support can see git source for a deployment
The dev command for this project. When null is used this value will be automatically detected
The framework that is being used for this project. When null is used no framework is selected
Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed
Specifies whether Git LFS is enabled for this project.
Specifies whether sourcemaps are protected and require authentication to access.
The install command for this project. When null is used this value will be automatically detected
The desired name for the project
The output directory of the project. When null is used this value will be automatically detected
Specifies whether preview deployments are disabled for this project.
Custom domain suffix for preview deployments. Takes precedence over team-level suffix. Must be a domain owned by the team.
Deprecated. Accepted for backwards compatibility but ignored.
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
The region to deploy Serverless Functions in this project
Specifies whether Zero Config Failover is enabled for this project.
Deployments created before this absolute datetime have Skew Protection disabled. Value is in milliseconds since epoch to match "createdAt" fields.
Deployments created before this rolling window have Skew Protection disabled. Value is in seconds to match "revalidate" fields.
Cross-site domains allowed to fetch skew-protected assets (hostnames, optionally with leading wildcard like *.example.com).
Opts-out of the message prompting a CLI user to connect a Git repository in vercel link.
Indicates if there are source files outside of the root directory
Opt-in to preview toolbar on the project level
Opt-in to production toolbar on the project level
Opt-in to skip deployments when there are no changes to the root directory and its dependencies
Specifies whether external rewrite caching is enabled for this project.
Example request
{
"name": "a-project-name"
}Response
The project was successfully updated
Example response
{
"crons": {
"definitions": [
{
"host": "vercel.com",
"path": "/api/crons/sync-something?hello=world",
"schedule": "0 0 * * *"
}
]
},
"rollingRelease": {
"target": "production",
"stages": [
{
"targetPercentage": 25,
"duration": 600
}
]
}
}