---
title: "This endpoint allows authorized users to update the core details of an existing project. It is primarily used to rename projects as they evolve within the system, ensuring that project identities remain accurate for team members. The endpoint is called when a user saves changes in the project settings interface. It requires a specific project ID to identify the resource and accepts a new project name in the request body. Upon execution, the system verifies that the user possesses the correct permissions within the project's organization. Once validated, the project is updated and the system returns the modified project data to confirm the changes were successful."
method: PATCH
path: "/api/projects/{projectId}"
tags: ["projects"]
---

# This endpoint allows authorized users to update the core details of an existing project. It is primarily used to rename projects as they evolve within the system, ensuring that project identities remain accurate for team members. The endpoint is called when a user saves changes in the project settings interface. It requires a specific project ID to identify the resource and accepts a new project name in the request body. Upon execution, the system verifies that the user possesses the correct permissions within the project's organization. Once validated, the project is updated and the system returns the modified project data to confirm the changes were successful.

`PATCH /api/projects/{projectId}`

## Request

- Base URL: `https://api.spala.ai/api`
- URL: `https://api.spala.ai/api/api/projects/{projectId}`
- Auth: HTTP bearer

## Path parameters

- `projectId` string, required

## Request body

- object
  - `project_name` string

## Response `200`

Successful response

- object
  - `project` object
    - `id` string
    - `created_at` string
    - `creator_id` string
    - `db_name` string
    - `host_id` string
    - `notification_sent` boolean
    - `organization_id` string
    - `project_name` string
    - `runtime_management_class` string
    - `status` string
    - `subdomain` string

## Other responses

- `401`: Unauthorized - authentication required

---

[API](https://skmtc.dev/spala/apis/admin.md) · [All operations](https://skmtc.dev/spala/apis/admin/llms.txt) · [OpenAPI document](https://skmtc.dev/spala/apis/admin/revisions/723cc50571ee?raw)
