> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.toloka.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# client.projects.update()

> Update a project.

Send the new project name. Returns the updated project.

## Signature

Method signature on `client.projects`:

```ts theme={null}
update(args: {
  projectId: string;
  name: string;
}): Promise<Project>;
```

## Parameters

**projectId** `string` *required*

Project ID with prefix `pp.`.

**name** `string` *required*

New name for the project.

## Returns

`Promise<Project>`

A project: a team-scoped container for pipelines and datasets.

**id** `ProjectId` *required*

Project ID with prefix `pp.`.

**name** `string` *required*

Name of the project.

**teamId** `string` *required*

Identifier of the team that owns the project.

**status** `"draft" | "active"` *required*

Project state: `draft` before activation or `active` after activation.

**createdAt** `string` *required*

Time the project was created, as an ISO 8601 timestamp.

## Errors

HTTP errors throw [`PotatoApiError`](https://docs.platform.toloka.ai/docs/sdk/errors). The endpoint documents these error responses:

| Status | Description |
| - | - |
| 404 | Project not found |
| 429 | Rate limit exceeded |

HTTP endpoint: [`PATCH /projects/{projectId}`](https://docs.platform.toloka.ai/docs/api-reference/projects/update-project).

```ts update() theme={null}
import { createClient } from "@toloka-platform/sdk";

const client = createClient({
  baseUrl: "https://platform.toloka.ai",
  apiKey: process.env.TOLOKA_API_KEY!,
});

const project = await client.projects.update({
  projectId: "pp.019a0000-0000-7000-8000-000000000001",
  name: "example"
});
console.log(project);
```

```json update() theme={null}
{
  "id": "pp.019a0000-0000-7000-8000-000000000001",
  "name": "<string>",
  "teamId": "<string>",
  "status": "draft",
  "createdAt": "2026-01-01T00:00:00Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.