Update Protection Bypass for Automation
PATCH
/__remote/api.vercel.com/v1/projects/{idOrName}/protection-bypassUpdate the deployment protection automation bypass for a project
Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>",});
async function run() { const result = await vercel.projects.updateProjectProtectionBypass({ idOrName: "<value>", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", requestBody: {}, });
console.log(result);}
run();Response
{ "protectionBypass": "value"}AuthorizationbearerToken
Default authentication mechanism