Skip to main content
PATCH
Update

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

Body

application/json
name
string

New display name, 1-100 characters.

gitRepo
string | null

Repository to connect as "owner/repo" — pushes and pull requests there drive deploys and previews. Send null to disconnect.

Pattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$
gitRef
string

Production branch for push-to-deploy, 1-100 characters.

Response

The updated project.

id
string
required
name
string
required
slug
string
required
Pattern: ^[a-z][a-z0-9-]{1,61}$
runtimeClass
enum<string>
required
Available options:
scale-to-zero,
always-on
region
string
required

Where the app runs: a compute region id for always-on apps, "global" for scale-to-zero apps (they run on the global edge). Immutable after creation. The catalog lives at regions.list.

gitRepo
string | null
required

Connected repository as "owner/repo" — pushes and pull requests there drive deploys and previews; null when no repository is connected.

gitRef
string
required

Production branch — pushes to it deploy automatically.

url
string
required

Public URL on the managed domain ("https://.korve.app").

createdAt
string<date-time>