---
title: "Update a project"
method: PUT
path: "/api/projects/{projectId}/"
tags: ["Projects"]
---

# Update a project

`PUT /api/projects/{projectId}/`

Update a project. Replaces the target resource or assignment with the supplied JSON representation.

## Request body

- UpdateProjectRequest — update Project Request payload accepted by the API.
  - `name` string, required — Human-readable name.

## Response `200`

Project

- Project — Project record and its default sandbox resource settings.
  - `id` string, required — Stable identifier for the object.
  - `name` string, required — Human-readable name.
  - `slug` string, required — slug value for the project object.
  - `defaultSandboxProviderId` string — default Sandbox Provider Id value for the project object.
  - `vz_memory_mb` integer, nullable — vz memory mb value for the project object.
  - `vz_data_disk_gb` integer, nullable — vz data disk gb value for the project object.
  - `created_at` string, date-time, required — Time when the object was created.
  - `updated_at` string, date-time, required — Time when the object was last updated.

## Other responses

- `default` — Error response

---

[API](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/revisions/4de3fcd6be56/schema)
