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

# Update Project

> Update an existing project's name, description, or industry classifications

```
PATCH /openapi/memorylake/api/v3/workspaces/{workspaceId}/projects/{projectId}
```

Updates an existing project. Only the fields you include in the request body are modified; omitted fields remain unchanged.

<Note>
  **Permission required:** `project:modify`
</Note>

### Path Parameters

<ParamField path="workspaceId" type="string" required>
  Workspace identifier
</ParamField>

<ParamField path="projectId" type="string" required>
  Project identifier
</ParamField>

### Request Body

<ParamField body="name" type="string">
  Updated project name
</ParamField>

<ParamField body="description" type="string">
  Updated project description
</ParamField>

<ParamField body="industry_ids" type="array">
  Updated array of industry identifiers. Replaces the current set of industry classifications.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PATCH 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws_abc123/projects/proj_def456' \
    -H 'Authorization: Bearer sk_xxxxxx' \
    -H 'Content-Type: application/json' \
    -d '{
      "name": "Customer Research (Updated)",
      "description": "Expanded to include focus-group recordings"
    }'
  ```
</RequestExample>

### Response

<ResponseField name="data" type="object">
  <Expandable title="Project object">
    <ResponseField name="id" type="string">Unique project identifier</ResponseField>
    <ResponseField name="name" type="string">Updated project name</ResponseField>
    <ResponseField name="description" type="string">Updated project description</ResponseField>

    <ResponseField name="industries" type="array">
      Industry classifications assigned to the project

      <Expandable title="Industry object">
        <ResponseField name="id" type="string">Industry identifier</ResponseField>
        <ResponseField name="name" type="string">Industry name</ResponseField>
        <ResponseField name="description" type="string">Industry description</ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="custom_id" type="string">Custom identifier for external system integration</ResponseField>
    <ResponseField name="created_at" type="string">Creation timestamp</ResponseField>
    <ResponseField name="updated_at" type="string">Last update timestamp</ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "success": true,
    "data": {
      "id": "proj_def456",
      "name": "Customer Research (Updated)",
      "description": "Expanded to include focus-group recordings",
      "industries": [
        {
          "id": "ind_tech01",
          "name": "Technology",
          "description": "Software and technology sector"
        }
      ],
      "custom_id": "research-2024-q1",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-03-05T16:20:00Z"
    }
  }
  ```
</ResponseExample>
