UpdateProjectDefinitions

July 24, 2026 ยท View on GitHub

Example Usage

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

let value: UpdateProjectDefinitions = {
  host: "vercel.com",
  path: "/api/crons/sync-something?hello=world",
  schedule: "0 0 * * *",
};

Fields

FieldTypeRequiredDescriptionExample
hoststring:heavy_check_mark:The hostname that should be used.vercel.com
pathstring:heavy_check_mark:The path that should be called for the cronjob./api/crons/sync-something?hello=world
schedulestring:heavy_check_mark:The cron expression.0 0 * * *
sourcemodels.UpdateProjectSource:heavy_minus_sign:The origin of this definition. 'api' means created via the API. Undefined means it originated from a deployment (vercel.json).
descriptionstring:heavy_minus_sign:A human-readable description of what this cron job does.
hostInferredboolean:heavy_minus_sign:Whether the host was inferred from the production deployment URL rather than explicitly provided.