---
title: "Update a project within an organization"
method: PATCH
path: "/projects/{project_id}"
---

# Update a project within an organization

`PATCH /projects/{project_id}`

## Path parameters

- `project_id` string, required

## Request body

- ProjectUpdate
  - `name` string, nullable — The name of the project.
  - `description` string, nullable — An optional description for the project.

## Response `200`

Successful Response

- Project
  - `name` string, required — The name of the project.
  - `description` string, nullable — An optional description for the project.
  - `id` string, required — The unique identifier for the project.
  - `organization_id` string, required — The ID of the organization this project belongs to.
  - `created_at` string, date-time, required — Timestamp of when the project was created.
  - `updated_at` string, date-time, required — Timestamp of when the project was last updated.
  - `created_by` string, nullable — User ID of the creator.
  - `user_project_roles` UserProjectRole[], nullable — The user project roles in the project.
    - `user_id` string, required — The ID of the user.
    - `project_id` string, required — The ID of the project.
    - `project_role_id` string, required — The ID of the project role.
    - `project_roles` ProjectRole
      - `id` string, required
      - `name` string, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `project_role_permissions` object[], nullable — The permissions for the project role.
    - `created_at` string, date-time, required — Timestamp of when the user project role was created.
    - `updated_at` string, date-time, required — Timestamp of when the user project role was last updated.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
