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
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
host | string | :heavy_check_mark: | The hostname that should be used. | vercel.com |
path | string | :heavy_check_mark: | The path that should be called for the cronjob. | /api/crons/sync-something?hello=world |
schedule | string | :heavy_check_mark: | The cron expression. | 0 0 * * * |
source | models.UpdateProjectSource | :heavy_minus_sign: | The origin of this definition. 'api' means created via the API. Undefined means it originated from a deployment (vercel.json). | |
description | string | :heavy_minus_sign: | A human-readable description of what this cron job does. | |
hostInferred | boolean | :heavy_minus_sign: | Whether the host was inferred from the production deployment URL rather than explicitly provided. |