---
title: "Update a project"
method: PATCH
path: "/v1/projects/{projectId}"
tags: ["projects"]
---

# Update a project

`PATCH /v1/projects/{projectId}`

Update project settings

## Path parameters

- `projectId` string, required — The ID of the project

## Request body

- object
  - `name` string — The new name for the project
  - `sourceRepository` string, nullable — The source repository to connect to the project

## Response `200`

The project has been updated successfully

- object
  - `id` string, required
  - `name` string, required
  - `teamId` string, required
  - `sourceRepository` string, nullable, required
  - `runtime` 'python3.13' | 'python3.14' | 'node22' | 'node24', required
  - `transport` 'stdio' | 'sse' | 'streamablehttp', nullable, required
  - `rootDirectory` string, nullable, required
  - `buildCommand` string, nullable, required
  - `buildOutputDir` string, nullable, required
  - `installCommand` string, nullable, required
  - `startCommand` string, nullable, required
  - `createdAt` string, date-time, required
  - `productionEnvironment` object, nullable, required
    - `id` string, required
    - `name` string, required
    - `mcpServerUrl` string, required
    - `domains` object[], required
      - `domain` string, required
      - `status` 'ongoing' | 'deployed' | 'failed', required
      - `createdAt` string, date-time, required
    - `latestDeployment` object, nullable, required
      - `id` string, required
      - `status` 'ongoing' | 'deployed' | 'failed' | 'canceled', required
      - `sourceCommitId` string, nullable, required
      - `sourceCommitMessage` string, nullable, required
      - `completedAt` string, date-time, nullable, required
  - `environments` object[], required
    - `id` string, required
    - `name` string, required
    - `sourceBranch` string, nullable, required
    - `mcpServerUrl` string, required
    - `createdAt` string, date-time, required
    - `projectId` string, required
    - `latestDeployment` object, nullable, required
      - `id` string, required
      - `status` 'ongoing' | 'deployed' | 'failed' | 'canceled', required
      - `sourceCommitId` string, nullable, required
      - `sourceCommitMessage` string, nullable, required
      - `completedAt` string, date-time, nullable, required

## Other responses

- `400` — 400
- `403` — 403
- `404` — 404

---

[API](https://skmtc.dev/alpic/apis/alpic-api-2.md) · [All operations](https://skmtc.dev/alpic/apis/alpic-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alpic/alpic-api-2/revisions/262875478562/schema)
