---
title: "UpdateProject"
method: POST
path: "/gitpod.v1.ProjectService/UpdateProject"
tags: ["gitpod.v1.ProjectService"]
---

# UpdateProject

`POST /gitpod.v1.ProjectService/UpdateProject`

Updates a project's configuration.

 Use this method to:
 - Modify project settings
 - Update environment class
 - Change project name
 - Configure initializers

 ### Examples

 - Update project name:

   Changes the project's display name.

   ```yaml
   projectId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   name: "New Project Name"
   ```

 - Update environment class:

   Changes the project's environment class.

   ```yaml
   projectId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   environmentClass:
     environmentClassId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   ```

## Request body

- GitpodV1UpdateProjectRequest — unresolved $ref

## Response `200`

Success

- GitpodV1UpdateProjectResponse
  - `project` GitpodV1Project — unresolved $ref

## Other responses

- `default` — Error

## Changes

- **2025-02-21** `3655d5ad0ac3` — 3 breaking, 2 warning, 12 info
  - the `environmentClass` request property type/format changed from ``/`` to `object`/``
  - the `initializer` request property type/format changed from ``/`` to `object`/``
  - the `project` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - removed `#/components/schemas/gitpod.v1.EnvironmentInitializer` from the `initializer` request property `allOf` list
  - …13 more
- **2025-02-18** `cd6a05ae99d2` — 1 warning
  - removed the optional property `detail` from the response with the `default` status

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.ProjectService/UpdateProject/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/3655d5ad0ac3/schema)
