---
title: "update"
method: PUT
path: "/v1/project/{projectId}"
tags: ["Projects"]
---

# update

`PUT /v1/project/{projectId}`

Rename a project

Interact with the "Request Body" below to explore the arguments of this function. Enter your GroundX API key to send a request directly from this web page. Select your language of choice to structure a code snippet based on your specified arguments.

## Path parameters

- `projectId` integer, required

## Request body

- ProjectUpdateRequest
  - `newName` string, required — The new name of the project being renamed.

## Response `200`

Successful update of project

- ProjectResponse
  - `project` ProjectDetail, required
    - `buckets` BucketDetail[] — The content buckets associated with the project
      - `bucketId` integer, required
      - `created` string, date-time — The data time when the bucket was created, in RFC3339 format
      - `fileCount` integer — The number of files contained in the content bucket
      - `fileSize` string — The total file size of files contained in the content bucket
      - `name` string
      - `updated` string, date-time — The data time when the bucket was last updated, in RFC3339 format
    - `created` string, date-time — The data time when the project was created, in RFC3339 format
    - `fileCount` integer — The number of files contained in the content buckets associated with the project
    - `fileSize` string — The total file size of files contained in the content buckets associated with the project
    - `projectId` integer, required
    - `name` string
    - `updated` string, date-time — The data time when the project was last updated, in RFC3339 format

## Other responses

- `400` — Invalid body parameter
- `401` — Unauthorized to update project with given ID

## Changes

- **2023-11-29** `3bb565058636` — 2 breaking, 1 warning
  - added the new required request property `newName`
  - for the `path` request parameter `projectId`, the type changed from `string` to `integer`
  - removed the request property `project`
- **2023-11-29** `bf7061385e18` — 1 warning, 2 info
  - removed the optional property `project/groupId` from the response with the `200` status
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
- **2023-10-13** `43657b55255e` — 3 info
  - added the optional property `project/buckets/items/created` to the response with the `200` status
  - added the optional property `project/buckets/items/updated` to the response with the `200` status
  - added the optional property `project/groupId` to the response with the `200` status
- **2023-10-07** `50642c47d873` — 1 breaking
  - the request property `project/name` became required
- **2023-10-05** `5ee59ea914aa` — 2 info
  - api tag `Projects` added
  - api tag `Project` removed

[Full history](https://skmtc.dev/groundxai/apis/groundx-apis/changes/v1/project/:projectId/put.md)

---

[API](https://skmtc.dev/groundxai/apis/groundx-apis.md) · [All operations](https://skmtc.dev/groundxai/apis/groundx-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/groundxai/apis/groundx-apis/revisions/d177cd9fa116?raw)
