UpdateProjectPasswordProtection
July 24, 2026 ยท View on GitHub
Allows to protect project deployments with a password
Example Usage
import { UpdateProjectPasswordProtection } from "@vercel/sdk/models/updateprojectbranchmatcher.js";
let value: UpdateProjectPasswordProtection = {
deploymentType: "preview",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
deploymentType | models.UpdateProjectDeploymentType | :heavy_check_mark: | Specify if the password will apply to every Deployment Target or just Preview |
password | string | :heavy_minus_sign: | The password that will be used to protect Project Deployments |