add_project_domain | Add a domain to a project; if it is not verified yet the response has verified=false and a verification challenge to publish in DNS. Arguments: idOrName (string, path) — project id or name; name (string, required, body) — the domain, e.g. “www.example.com”; gitBranch (string, optional) — link the domain to a branch; customEnvironmentId (string, optional); redirect (string, optional) — domain to redirect to; redirectStatusCode (integer, optional) — 301, 302, 307 or 308; teamId/slug (string, optional, query) — team scope. |
cancel_deployment | Cancel a deployment that is still building (QUEUED, INITIALIZING or BUILDING); Vercel answers 400 once it is READY, ERROR or CANCELED. Arguments: id (string, path) — deployment id dpl_… (see list_deployments); teamId/slug (string, optional, query) — team scope. |
create_deployment | Create a deployment from git or redeploy an existing one (no file upload). Arguments: name (string, required) — project name used in the deployment URL; project (string, optional) — target project id or name, overrides name; target (string, optional) — “production” or “staging”, omit for a preview deployment; customEnvironmentSlugOrId (string, optional) — custom environment instead of target; to REDEPLOY: deploymentId (string, dpl_… from list_deployments) plus optional withLatestCommit (boolean — build the latest commit of the same branch instead of the original SHA); to deploy FROM GIT: gitSource (object) — one of {type:“github”, ref, repoId} or {type:“github”, ref, org, repo}, {type:“gitlab”, ref, projectId}, {type:“bitbucket”, ref, repoUuid} or {type:“bitbucket”, ref, owner, slug}, each with an optional sha (the connected repo id is under link.repoId in get_project); forceNew (boolean, optional) — bypass deduplication with a similar deployment; teamId/slug (string, optional, query) — team scope. |
pause_project | Pause a project: its production deployment stops being served and custom production domains are no longer assigned automatically. Arguments: projectId (string, path) — project id prj_… (not the name; see list_projects); teamId/slug (string, optional, query) — team scope. |
promote_deployment | Point production traffic to an existing deployment of the project (instant rollback or promotion — no rebuild). Arguments: projectId (string, path) — project id prj_… (see list_projects); deploymentId (string, path) — deployment id dpl_… (see list_deployments); teamId/slug (string, optional, query) — team scope. |
unpause_project | Resume a paused project: its production deployment is served again. Arguments: projectId (string, path) — project id prj_… (see list_projects); teamId/slug (string, optional, query) — team scope. |